Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002543/0.002543, allocations: 352.3 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.655/3.655, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00355/0.00355, allocations: 229 kB / 397.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4835/0.4835, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004596, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08497/0.08547, allocations: 48.71 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.001901/0.08744, allocations: 1.475 MB / 0.6082 GB, free: 3.152 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003344/0.08779, allocations: 147.5 kB / 0.6083 GB, free: 3.008 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.814e-05/0.08788, allocations: 0 / 0.6083 GB, free: 3.008 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.53e-05/0.08794, allocations: 15.86 kB / 0.6083 GB, free: 2.992 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.08809, allocations: 43.67 kB / 0.6084 GB, free: 2.949 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.08825, allocations: 31.91 kB / 0.6084 GB, free: 2.918 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.08845, allocations: 175.1 kB / 0.6086 GB, free: 2.746 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.08863, allocations: 37.86 kB / 0.6086 GB, free: 2.707 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.409e-05/0.08872, allocations: 55.78 kB / 0.6087 GB, free: 2.652 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.08886, allocations: 67.7 kB / 0.6087 GB, free: 2.586 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.08889, allocations: 8 kB / 0.6087 GB, free: 2.578 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.033e-05/0.08894, allocations: 12 kB / 0.6087 GB, free: 2.566 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.032e-05/0.08898, allocations: 27.86 kB / 0.6088 GB, free: 2.539 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.08904, allocations: 53.64 kB / 0.6088 GB, free: 2.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.08921, allocations: 135.9 kB / 0.609 GB, free: 2.348 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.08922, allocations: 0 / 0.609 GB, free: 2.348 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.08923, allocations: 0 / 0.609 GB, free: 2.348 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.08924, allocations: 0 / 0.609 GB, free: 2.348 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005548/0.08981, allocations: 431 kB / 0.6094 GB, free: 1.879 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.08986, allocations: 8.031 kB / 0.6094 GB, free: 1.871 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.08992, allocations: 19.77 kB / 0.6094 GB, free: 1.852 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.09014, allocations: 206.9 kB / 0.6096 GB, free: 1.609 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.09018, allocations: 16.27 kB / 0.6096 GB, free: 1.594 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.09023, allocations: 16 kB / 0.6096 GB, free: 1.578 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.09058, allocations: 163.3 kB / 0.6098 GB, free: 1.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.09062, allocations: 11.91 kB / 0.6098 GB, free: 1.398 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.09065, allocations: 4 kB / 0.6098 GB, free: 1.395 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-06/0.09066, allocations: 8 kB / 0.6098 GB, free: 1.387 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.09089, allocations: 99.72 kB / 0.6099 GB, free: 1.289 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009085/0.09181, allocations: 0.6112 MB / 0.6105 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2587/0.3506, allocations: 128.1 kB / 0.6106 GB, free: 90.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.3508, allocations: 50.23 kB / 0.6107 GB, free: 90.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.3508, allocations: 4.625 kB / 0.6107 GB, free: 90.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.3508, allocations: 40.25 kB / 0.6107 GB, free: 90.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 4.157e-06/0.3508, allocations: 0 / 0.6107 GB, free: 90.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001157/0.352, allocations: 380.8 kB / 0.6111 GB, free: 90.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.3521, allocations: 78.88 kB / 0.6111 GB, free: 90.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.3522, allocations: 130.4 kB / 0.6113 GB, free: 90.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.3522, allocations: 29.98 kB / 0.6113 GB, free: 90.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/0.3523, allocations: 128.5 kB / 0.6114 GB, free: 89.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.3524, allocations: 62.27 kB / 0.6115 GB, free: 89.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/0.3524, allocations: 4.438 kB / 0.6115 GB, free: 89.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.477e-05/0.3525, allocations: 321.3 kB / 0.6118 GB, free: 89.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.3526, allocations: 36.42 kB / 0.6118 GB, free: 89.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.3528, allocations: 107.1 kB / 0.6119 GB, free: 89.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.3529, allocations: 57.14 kB / 0.612 GB, free: 89.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3529, allocations: 0.9375 kB / 0.612 GB, free: 89.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005445/0.3535, allocations: 224.9 kB / 0.6122 GB, free: 89.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.3535, allocations: 5.656 kB / 0.6122 GB, free: 89.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.3535, allocations: 5.828 kB / 0.6122 GB, free: 89.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002942/0.3538, allocations: 48.56 kB / 0.6123 GB, free: 89.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.3541, allocations: 42.83 kB / 0.6123 GB, free: 89.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/0.3563, allocations: 2.707 MB / 0.6149 GB, free: 86.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.3565, allocations: 15.41 kB / 0.615 GB, free: 86.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.3565, allocations: 12.34 kB / 0.615 GB, free: 86.88 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001457/0.3567, allocations: 126.6 kB / 0.6151 GB, free: 86.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.3568, allocations: 20.62 kB / 0.6151 GB, free: 86.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/0.3568, allocations: 21.45 kB / 0.6151 GB, free: 86.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3568, allocations: 2.688 kB / 0.6151 GB, free: 86.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3569, allocations: 1.062 kB / 0.6151 GB, free: 86.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.3569, allocations: 85.48 kB / 0.6152 GB, free: 86.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.3569, allocations: 6.562 kB / 0.6152 GB, free: 86.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.3571, allocations: 2.25 kB / 0.6152 GB, free: 86.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.3572, allocations: 15.09 kB / 0.6152 GB, free: 86.65 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009445/0.3581, allocations: 367 kB / 0.6156 GB, free: 86.44 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004723/0.3586, allocations: 421.8 kB / 0.616 GB, free: 86.15 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001091/0.3587, allocations: 39.64 kB / 0.616 GB, free: 86.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.115e-05/0.3588, allocations: 105.8 kB / 0.6161 GB, free: 86.07 MB / 362.7 MB Notification: Performance of Backend: time 7.12e-07/0.3588, allocations: 0 / 0.6161 GB, free: 86.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.36, allocations: 400.7 kB / 0.6165 GB, free: 85.78 MB / 362.7 MB Notification: Performance of SimCode: time 0.001854/0.3618, allocations: 1.289 MB / 0.6178 GB, free: 84.88 MB / 362.7 MB Notification: Performance of Templates: time 0.007033/0.3689, allocations: 1.698 MB / 0.6194 GB, free: 84.81 MB / 362.7 MB