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.001237/0.001237, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01179/0.01179, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.676/1.676, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3842/0.3842, allocations: 40 MB / 310.7 MB, free: 9.531 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.0008509/0.0008509, allocations: 12 kB / 379.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1498, allocations: 57.96 MB / 437.4 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.3118/0.4616, allocations: 37.44 MB / 474.9 MB, free: 29.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02357/0.4853, allocations: 7.8 MB / 482.7 MB, free: 26.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01386/0.4992, allocations: 159.8 kB / 482.8 MB, free: 26.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002328/0.5016, allocations: 402.7 kB / 483.2 MB, free: 26.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005069/0.5067, allocations: 1.157 MB / 484.4 MB, free: 25.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.5086, allocations: 476.7 kB / 484.8 MB, free: 25.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00635/0.515, allocations: 4.342 MB / 489.2 MB, free: 24.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006925/0.522, allocations: 4.177 MB / 493.3 MB, free: 22.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002404/0.5244, allocations: 0.9395 MB / 494.3 MB, free: 21.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003031/0.5274, allocations: 1.588 MB / 495.9 MB, free: 21.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009814/0.5284, allocations: 127.4 kB / 496 MB, free: 21.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/0.5311, allocations: 0.8831 MB / 496.9 MB, free: 21.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00242/0.5335, allocations: 1.432 MB / 498.3 MB, free: 20.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004583/0.5381, allocations: 1.798 MB / 0.4884 GB, free: 19.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.55, allocations: 5.81 MB / 0.4941 GB, free: 17.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.5501, allocations: 0 / 0.4941 GB, free: 17.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.057e-06/0.5501, allocations: 0 / 0.4941 GB, free: 17.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003601/0.5505, allocations: 1.062 kB / 0.4941 GB, free: 17.78 MB / 382.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.01354/0.564, allocations: 3.46 MB / 0.4974 GB, free: 15.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/0.5641, allocations: 8.875 kB / 0.4975 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009073/0.5732, allocations: 1.852 MB / 0.4993 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008955/0.5822, allocations: 1.758 MB / 0.501 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000526/0.5828, allocations: 227.7 kB / 0.5012 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002726/0.5855, allocations: 301.4 kB / 0.5015 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03182/0.6174, allocations: 10.63 MB / 0.5119 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003389/0.6178, allocations: 46.7 kB / 0.5119 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001735/0.6195, allocations: 146.5 kB / 0.512 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004135/0.6237, allocations: 2.034 MB / 0.514 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02255/0.6463, allocations: 9.329 MB / 0.5231 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0658/0.7121, allocations: 38.06 MB / 0.5603 GB, free: 8.016 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/0.7241, allocations: 4.18 MB / 0.5644 GB, free: 3.672 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003644/0.7278, allocations: 2.297 MB / 0.5666 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01158/0.7394, allocations: 6.01 MB / 0.5725 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.283e-05/0.7396, allocations: 63.81 kB / 0.5726 GB, free: 11.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 6.081e-06/0.7396, allocations: 0 / 0.5726 GB, free: 11.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.07491/0.8145, allocations: 21.94 MB / 0.594 GB, free: 4.902 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.8147, allocations: 157.8 kB / 0.5941 GB, free: 4.715 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008018/0.8227, allocations: 3.383 MB / 0.5974 GB, free: 1.324 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006532/0.8234, allocations: 49.7 kB / 0.5975 GB, free: 1.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002646/0.8261, allocations: 2.801 MB / 0.6002 GB, free: 14.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001568/0.8276, allocations: 0.7943 MB / 0.601 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00154/0.8292, allocations: 0.4991 MB / 0.6015 GB, free: 13.11 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.8293, allocations: 309.1 kB / 0.6018 GB, free: 12.81 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004785/0.8341, allocations: 2.331 MB / 0.6041 GB, free: 10.47 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007658/0.8418, allocations: 5.777 MB / 0.6097 GB, free: 2.98 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01235/0.8542, allocations: 8.804 MB / 0.6183 GB, free: 8.477 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001395/0.8544, allocations: 36 kB / 0.6183 GB, free: 8.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.3078/1.162, allocations: 8.683 MB / 0.6268 GB, free: 141 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/1.162, allocations: 56.41 kB / 0.6269 GB, free: 141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001799/1.163, allocations: 121.3 kB / 0.627 GB, free: 141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002878/1.165, allocations: 1.038 MB / 0.628 GB, free: 140.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005382/1.171, allocations: 1.376 MB / 0.6293 GB, free: 140.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005365/1.176, allocations: 5.412 MB / 0.6346 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005535/1.182, allocations: 325.3 kB / 0.6349 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00143/1.183, allocations: 358.1 kB / 0.6353 GB, free: 138.4 MB / 494.1 MB 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.006599/1.19, allocations: 1.947 MB / 0.6372 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/1.191, allocations: 308.1 kB / 0.6375 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007644/1.199, allocations: 3.946 MB / 0.6413 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.71e-05/1.199, allocations: 22.72 kB / 0.6413 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.676e-05/1.199, allocations: 3.156 kB / 0.6414 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-05/1.199, allocations: 13.44 kB / 0.6414 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/1.214, allocations: 8.883 MB / 0.65 GB, free: 134.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/1.214, allocations: 0 / 0.65 GB, free: 134.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001792/1.216, allocations: 345.6 kB / 0.6504 GB, free: 134.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002511/1.219, allocations: 0.8728 MB / 0.6512 GB, free: 133.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004681/1.219, allocations: 37.55 kB / 0.6513 GB, free: 133.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004297/1.224, allocations: 4.756 MB / 0.6559 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.224, allocations: 8.141 kB / 0.6559 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01222/1.236, allocations: 6.862 MB / 0.6626 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002207/1.238, allocations: 0.6876 MB / 0.6633 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004892/1.239, allocations: 35.58 kB / 0.6633 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/1.24, allocations: 117.7 kB / 0.6634 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003595/1.24, allocations: 111.2 kB / 0.6635 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/1.241, allocations: 55.28 kB / 0.6636 GB, free: 127.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004747/1.245, allocations: 2.087 MB / 0.6656 GB, free: 126.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.42e-07/1.245, allocations: 1.094 kB / 0.6656 GB, free: 126.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01167/1.257, allocations: 0.9721 MB / 0.6666 GB, free: 126.5 MB / 494.1 MB 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.0008099/1.258, allocations: 175 kB / 0.6667 GB, free: 126.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01468/1.273, allocations: 6.116 MB / 0.6727 GB, free: 124.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.273, allocations: 1.812 kB / 0.6727 GB, free: 124.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004367/1.277, allocations: 2.467 MB / 0.6751 GB, free: 123 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002868/1.28, allocations: 340.6 kB / 0.6755 GB, free: 122.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01864/1.299, allocations: 11.14 MB / 0.6863 GB, free: 116.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002986/1.302, allocations: 3.029 MB / 0.6893 GB, free: 115.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004624/1.306, allocations: 1.855 MB / 0.6911 GB, free: 115.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007936/1.307, allocations: 247.3 kB / 0.6913 GB, free: 115.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.613e-06/1.307, allocations: 3.531 kB / 0.6913 GB, free: 115.4 MB / 494.1 MB Notification: Performance of Templates: time 0.06345/1.371, allocations: 35.24 MB / 0.7258 GB, free: 80.84 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: