Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestCylinderUnitLinearize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(MEV.Test.TestCylinderUnitLinearize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitLinearize") translateModel(MEV.Test.TestCylinderUnitLinearize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitLinearize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 106.1 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 188.8 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.337/1.337, allocations: 205.1 MB / 222.8 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008678/0.008678, allocations: 1.935 MB / 272 MB, free: 3.496 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.03 kB / 330 MB, free: 33.16 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07543/0.07684, allocations: 47.14 MB / 377.1 MB, free: 1.977 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.00437/0.08125, allocations: 3.54 MB / 380.7 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.08251, allocations: 0.8387 MB / 381.5 MB, free: 13.56 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.08267, allocations: 4 kB / 381.5 MB, free: 13.56 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.08285, allocations: 35.69 kB / 381.5 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.08306, allocations: 99.22 kB / 381.6 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.08333, allocations: 83.88 kB / 381.7 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003796/0.08372, allocations: 414.1 kB / 382.1 MB, free: 12.94 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.08396, allocations: 139.7 kB / 382.3 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.08411, allocations: 151.3 kB / 382.4 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.0843, allocations: 159.3 kB / 382.6 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.08435, allocations: 32 kB / 382.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.646e-05/0.08445, allocations: 48 kB / 382.6 MB, free: 12.42 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.46e-05/0.08453, allocations: 79.58 kB / 382.7 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.08469, allocations: 187.1 kB / 382.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.08499, allocations: 291.4 kB / 383.2 MB, free: 11.87 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.085, allocations: 0 / 383.2 MB, free: 11.87 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.08501, allocations: 0 / 383.2 MB, free: 11.87 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.08502, allocations: 0 / 383.2 MB, free: 11.87 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009742/0.086, allocations: 0.6311 MB / 383.8 MB, free: 11.19 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.08605, allocations: 15.88 kB / 383.8 MB, free: 11.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.173e-05/0.08612, allocations: 36.56 kB / 383.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.08645, allocations: 282.7 kB / 384.1 MB, free: 10.82 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.08648, allocations: 20.94 kB / 384.2 MB, free: 10.8 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.499e-05/0.08655, allocations: 47.95 kB / 384.2 MB, free: 10.76 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.08696, allocations: 228.9 kB / 384.4 MB, free: 10.53 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.08698, allocations: 0 / 384.4 MB, free: 10.53 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.08702, allocations: 8 kB / 384.4 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.08703, allocations: 8 kB / 384.5 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.08733, allocations: 170.2 kB / 384.6 MB, free: 10.35 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.0886, allocations: 0.8144 MB / 385.4 MB, free: 9.48 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005546/0.08917, allocations: 182.5 kB / 385.6 MB, free: 9.293 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.08931, allocations: 72.84 kB / 385.7 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.08935, allocations: 4 kB / 385.7 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.08939, allocations: 38.55 kB / 385.7 MB, free: 9.168 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.08939, allocations: 0 / 385.7 MB, free: 9.168 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.00157/0.09097, allocations: 0.9369 MB / 386.7 MB, free: 8.145 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.09102, allocations: 51.41 kB / 386.7 MB, free: 8.082 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.0913, allocations: 291 kB / 387 MB, free: 7.789 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.09134, allocations: 29.7 kB / 387 MB, free: 7.754 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.09145, allocations: 180.5 kB / 387.2 MB, free: 7.574 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.506e-05/0.09153, allocations: 90.66 kB / 387.3 MB, free: 7.484 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.347e-05/0.09162, allocations: 57.89 kB / 387.3 MB, free: 7.422 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.09176, allocations: 338.8 kB / 387.7 MB, free: 7.082 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.09188, allocations: 65.97 kB / 387.7 MB, free: 7.016 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.09203, allocations: 121.3 kB / 387.9 MB, free: 6.883 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.0923, allocations: 184.7 kB / 388 MB, free: 6.688 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.09231, allocations: 0 / 388 MB, free: 6.688 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003576/0.09267, allocations: 245.3 kB / 388.3 MB, free: 6.441 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.0927, allocations: 8 kB / 388.3 MB, free: 6.434 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.09271, allocations: 0 / 388.3 MB, free: 6.434 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.09273, allocations: 7.938 kB / 388.3 MB, free: 6.426 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.09299, allocations: 59.91 kB / 388.4 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.09301, allocations: 4 kB / 388.4 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.09315, allocations: 11.88 kB / 388.4 MB, free: 6.352 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.09317, allocations: 8 kB / 388.4 MB, free: 6.344 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001975/0.09338, allocations: 180.8 kB / 388.6 MB, free: 6.164 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001253/0.09351, allocations: 108.7 kB / 388.7 MB, free: 6.043 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002438/0.09376, allocations: 184.4 kB / 388.8 MB, free: 5.848 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.173e-06/0.09377, allocations: 4 kB / 388.8 MB, free: 5.844 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0003442/0.09412, allocations: 245.2 kB / 389.1 MB, free: 5.598 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/0.09414, allocations: 8 kB / 389.1 MB, free: 5.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-06/0.09414, allocations: 0 / 389.1 MB, free: 5.59 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.428e-06/0.09415, allocations: 4 kB / 389.1 MB, free: 5.586 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.09438, allocations: 63.84 kB / 389.2 MB, free: 5.523 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.0944, allocations: 4 kB / 389.2 MB, free: 5.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.09452, allocations: 7.906 kB / 389.2 MB, free: 5.512 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.09454, allocations: 12.12 kB / 389.2 MB, free: 5.5 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.09466, allocations: 196.1 kB / 389.4 MB, free: 5.301 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.09472, allocations: 23.72 kB / 389.4 MB, free: 5.277 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/0.09509, allocations: 227.8 kB / 389.6 MB, free: 5.047 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.0951, allocations: 0 / 389.6 MB, free: 5.047 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.09511, allocations: 4 kB / 389.6 MB, free: 5.043 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.09513, allocations: 7.984 kB / 389.6 MB, free: 5.035 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009296/0.09606, allocations: 0.7246 MB / 390.4 MB, free: 4.238 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.09608, allocations: 0 / 390.4 MB, free: 4.238 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.09638, allocations: 59.91 kB / 390.4 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.0964, allocations: 4 kB / 390.4 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.09642, allocations: 12.14 kB / 390.4 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.09644, allocations: 7.984 kB / 390.4 MB, free: 4.156 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.09644, allocations: 4 kB / 390.4 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00051/0.09696, allocations: 431.2 kB / 390.9 MB, free: 3.699 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.09709, allocations: 120.8 kB / 391 MB, free: 3.562 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.09714, allocations: 8 kB / 391 MB, free: 3.555 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.09732, allocations: 11.98 kB / 391 MB, free: 3.543 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.09736, allocations: 19.92 kB / 391 MB, free: 3.523 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.09738, allocations: 8 kB / 391 MB, free: 3.516 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001871/0.09757, allocations: 198 kB / 391.2 MB, free: 3.324 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09758, allocations: 0 / 391.2 MB, free: 3.324 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004619/0.09805, allocations: 120 kB / 391.3 MB, free: 3.207 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001344/0.09819, allocations: 103.2 kB / 391.4 MB, free: 3.094 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004934/0.09869, allocations: 287.7 kB / 391.7 MB, free: 2.812 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.09871, allocations: 4 kB / 391.7 MB, free: 2.809 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.09884, allocations: 92.47 kB / 391.8 MB, free: 2.719 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005258/0.09937, allocations: 52.94 kB / 391.9 MB, free: 2.668 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.1009, allocations: 0.9793 MB / 392.8 MB, free: 1.645 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.1013, allocations: 0.7793 MB / 393.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.812e-05/0.1013, allocations: 35.42 kB / 393.7 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1014, allocations: 0 / 393.7 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of Templates: time 0.005245/0.1066, allocations: 3.373 MB / 397 MB, free: 13.43 MB / 302.1 MB make -j1 -f MEV_MEV.Test.TestCylinderUnitLinearize.makefile (rm -f MEV_MEV.Test.TestCylinderUnitLinearize.pipe ; mkfifo MEV_MEV.Test.TestCylinderUnitLinearize.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinderUnitLinearize.pipe >> ../files/MEV_MEV.Test.TestCylinderUnitLinearize.sim & ./MEV_MEV.Test.TestCylinderUnitLinearize -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestCylinderUnitLinearize.pipe 2>&1)