Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00764/0.00764, allocations: 106.8 kB / 15.74 MB, free: 6.039 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.001534/0.001535, allocations: 195.9 kB / 16.67 MB, free: 5.957 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.601/1.601, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3549/0.3549, allocations: 39.94 MB / 309.8 MB, free: 9.457 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 63.91 kB / 435.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3903, allocations: 56.88 MB / 492.7 MB, free: 19.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01238/0.4027, allocations: 10.56 MB / 0.4914 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008589/0.4113, allocations: 3.246 MB / 0.4946 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002901/0.4143, allocations: 53.22 kB / 0.4946 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005103/0.4194, allocations: 2.362 MB / 0.497 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004849/0.4243, allocations: 1.231 MB / 0.4982 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.4262, allocations: 0.5164 MB / 0.4987 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005869/0.432, allocations: 2.974 MB / 0.5016 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004328/0.4364, allocations: 3.035 MB / 0.5045 GB, free: 4.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002755/0.4392, allocations: 1.282 MB / 0.5058 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003083/0.4423, allocations: 1.737 MB / 0.5075 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009448/0.4432, allocations: 293.5 kB / 0.5078 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/0.4457, allocations: 0.9794 MB / 0.5087 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001706/0.4474, allocations: 1.604 MB / 0.5103 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002319/0.4497, allocations: 1.985 MB / 0.5122 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.4599, allocations: 6.283 MB / 0.5184 GB, free: 10.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.4599, allocations: 0 / 0.5184 GB, free: 10.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4599, allocations: 0 / 0.5184 GB, free: 10.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002872/0.4602, allocations: 0 / 0.5184 GB, free: 10.26 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.01228/0.4725, allocations: 4.253 MB / 0.5225 GB, free: 5.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.025e-05/0.4726, allocations: 11.89 kB / 0.5225 GB, free: 5.926 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006238/0.4789, allocations: 1.813 MB / 0.5243 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005612/0.4845, allocations: 1.778 MB / 0.526 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002346/0.4848, allocations: 225.7 kB / 0.5262 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001129/0.4859, allocations: 307.7 kB / 0.5265 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02213/0.5081, allocations: 10.63 MB / 0.5369 GB, free: 6.508 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000129/0.5082, allocations: 39.59 kB / 0.5369 GB, free: 6.469 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000472/0.5087, allocations: 139.9 kB / 0.5371 GB, free: 6.332 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003609/0.5123, allocations: 2.048 MB / 0.5391 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02102/0.5334, allocations: 9.317 MB / 0.5482 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05602/0.5894, allocations: 37.84 MB / 0.5851 GB, free: 4.074 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/0.6003, allocations: 4.172 MB / 0.5892 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00312/0.6034, allocations: 2.309 MB / 0.5915 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/0.6136, allocations: 6.017 MB / 0.5973 GB, free: 7.125 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.855e-05/0.6137, allocations: 55.81 kB / 0.5974 GB, free: 7.062 MB / 478.1 MB Notification: Performance of pre-optimization done (n=181): time 5.52e-06/0.6137, allocations: 4 kB / 0.5974 GB, free: 7.059 MB / 478.1 MB Notification: Performance of matching and sorting (n=210): time 0.06317/0.6769, allocations: 21.94 MB / 0.6188 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.937e-05/0.677, allocations: 149.8 kB / 0.619 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004924/0.682, allocations: 3.387 MB / 0.6223 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005495/0.6825, allocations: 57.7 kB / 0.6223 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001945/0.6845, allocations: 2.798 MB / 0.6251 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001158/0.6857, allocations: 0.7943 MB / 0.6258 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001575/0.6873, allocations: 1.19 MB / 0.627 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.6874, allocations: 305.1 kB / 0.6273 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003322/0.6907, allocations: 2.335 MB / 0.6296 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3376/1.028, allocations: 5.781 MB / 0.6352 GB, free: 123 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01358/1.042, allocations: 8.807 MB / 0.6438 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002595/1.042, allocations: 34.16 kB / 0.6438 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.02252/1.065, allocations: 8.681 MB / 0.6523 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/1.065, allocations: 58.09 kB / 0.6524 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002296/1.065, allocations: 127.7 kB / 0.6525 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003192/1.068, allocations: 1.034 MB / 0.6535 GB, free: 113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00579/1.074, allocations: 1.377 MB / 0.6549 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006091/1.08, allocations: 5.813 MB / 0.6605 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007763/1.088, allocations: 330.8 kB / 0.6608 GB, free: 108.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001775/1.09, allocations: 362.2 kB / 0.6612 GB, free: 108.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005299/1.095, allocations: 1.943 MB / 0.6631 GB, free: 107.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008821/1.096, allocations: 312.1 kB / 0.6634 GB, free: 107.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007068/1.103, allocations: 3.945 MB / 0.6672 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.913e-05/1.103, allocations: 22.62 kB / 0.6673 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/1.103, allocations: 4.188 kB / 0.6673 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.097e-05/1.103, allocations: 8.859 kB / 0.6673 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/1.119, allocations: 8.81 MB / 0.6759 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.119, allocations: 0 / 0.6759 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/1.121, allocations: 347.9 kB / 0.6762 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0022/1.123, allocations: 0.8772 MB / 0.6771 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001947/1.123, allocations: 43.62 kB / 0.6771 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004154/1.127, allocations: 5.123 MB / 0.6821 GB, free: 98.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.127, allocations: 0 / 0.6821 GB, free: 98.01 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008701/1.136, allocations: 6.876 MB / 0.6888 GB, free: 92.65 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001935/1.138, allocations: 0.6765 MB / 0.6895 GB, free: 91.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004989/1.139, allocations: 32 kB / 0.6895 GB, free: 91.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/1.14, allocations: 123.7 kB / 0.6896 GB, free: 91.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003257/1.14, allocations: 121.1 kB / 0.6898 GB, free: 91.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/1.141, allocations: 56 kB / 0.6898 GB, free: 91.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002606/1.143, allocations: 2.081 MB / 0.6918 GB, free: 89.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.893e-06/1.143, allocations: 0 / 0.6918 GB, free: 89.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005314/1.149, allocations: 0.9776 MB / 0.6928 GB, free: 88.59 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * 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 (178): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004977/1.149, allocations: 172 kB / 0.693 GB, free: 88.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01116/1.16, allocations: 6.129 MB / 0.6989 GB, free: 82.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.16, allocations: 0 / 0.6989 GB, free: 82.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004109/1.164, allocations: 2.476 MB / 0.7014 GB, free: 79.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002664/1.167, allocations: 354.3 kB / 0.7017 GB, free: 79.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/1.182, allocations: 9.048 MB / 0.7105 GB, free: 70.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002553/1.185, allocations: 3.029 MB / 0.7135 GB, free: 67.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003633/1.188, allocations: 1.857 MB / 0.7153 GB, free: 65.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000695/1.189, allocations: 239.4 kB / 0.7155 GB, free: 65.12 MB / 0.4981 GB Notification: Performance of SimCode: time 1.192e-06/1.189, allocations: 4 kB / 0.7155 GB, free: 65.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.05808/1.247, allocations: 33.95 MB / 0.7487 GB, free: 31.3 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1)