Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001411, allocations: 89.14 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001465, allocations: 159.2 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 177 MB / 204.1 MB, free: 9.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2163/0.2163, allocations: 34.27 MB / 294.8 MB, free: 14.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 3.938 kB / 442.7 MB, free: 5.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.689e-05, allocations: 2.281 kB / 442.7 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.1903/0.1904, allocations: 9.238 MB / 451.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00588/0.1962, allocations: 3.101 MB / 455 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.1973, allocations: 60.28 kB / 455.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004121/0.2014, allocations: 2.425 MB / 457.5 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00316/0.2046, allocations: 1.306 MB / 458.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.2058, allocations: 0.5339 MB / 459.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003667/0.2095, allocations: 2.997 MB / 462.3 MB, free: 9.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002889/0.2124, allocations: 2.452 MB / 464.8 MB, free: 8.199 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002696/0.2151, allocations: 1.904 MB / 466.7 MB, free: 7.355 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002794/0.2179, allocations: 1.665 MB / 468.3 MB, free: 6.785 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007535/0.2186, allocations: 293.7 kB / 468.6 MB, free: 6.785 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.2207, allocations: 0.9467 MB / 469.6 MB, free: 6.453 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001397/0.2221, allocations: 1.676 MB / 471.3 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.2236, allocations: 1.095 MB / 472.4 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006779/0.2304, allocations: 6.233 MB / 478.6 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.2304, allocations: 6.688 kB / 478.6 MB, free: 0.543 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2304, allocations: 0 / 478.6 MB, free: 0.543 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001885/0.2306, allocations: 5.531 kB / 478.6 MB, free: 0.5391 MB / 366.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.009476/0.24, allocations: 4.213 MB / 482.8 MB, free: 13.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2401, allocations: 9.438 kB / 482.8 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006581/0.2467, allocations: 1.892 MB / 484.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003817/0.2505, allocations: 1.728 MB / 486.4 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.2507, allocations: 226.2 kB / 486.7 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000687/0.2514, allocations: 300.4 kB / 487 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0242/0.2756, allocations: 10.71 MB / 497.7 MB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/0.2757, allocations: 39.64 kB / 497.7 MB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004311/0.2761, allocations: 139.9 kB / 497.8 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003843/0.2799, allocations: 2.044 MB / 499.9 MB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02165/0.3016, allocations: 9.3 MB / 0.4972 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0508/0.3524, allocations: 35.42 MB / 0.5318 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01186/0.3643, allocations: 3.744 MB / 0.5355 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003267/0.3675, allocations: 2.086 MB / 0.5375 GB, free: 8.301 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008606/0.3761, allocations: 4.669 MB / 0.5421 GB, free: 3.594 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/0.3762, allocations: 47.88 kB / 0.5421 GB, free: 3.539 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 5.811e-06/0.3762, allocations: 0 / 0.5421 GB, free: 3.539 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.07164/0.4478, allocations: 22.42 MB / 0.564 GB, free: 13.06 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.448, allocations: 153.8 kB / 0.5642 GB, free: 12.88 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006817/0.4548, allocations: 3.083 MB / 0.5672 GB, free: 9.781 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000564/0.4554, allocations: 57.7 kB / 0.5672 GB, free: 9.719 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00337/0.4587, allocations: 2.915 MB / 0.5701 GB, free: 6.773 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001514/0.4602, allocations: 0.8255 MB / 0.5709 GB, free: 5.941 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002833/0.4631, allocations: 1.187 MB / 0.5721 GB, free: 4.742 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002916/0.4634, allocations: 357.9 kB / 0.5724 GB, free: 4.387 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006727/0.4701, allocations: 2.335 MB / 0.5747 GB, free: 2.047 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01378/0.4839, allocations: 5.796 MB / 0.5803 GB, free: 10.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02223/0.5061, allocations: 8.815 MB / 0.5889 GB, free: 20 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001911/0.5063, allocations: 39.98 kB / 0.589 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.03029/0.5366, allocations: 8.665 MB / 0.5974 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-05/0.5367, allocations: 56.97 kB / 0.5975 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/0.5368, allocations: 123.9 kB / 0.5976 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00305/0.5399, allocations: 1.037 MB / 0.5986 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005196/0.5451, allocations: 1.38 MB / 0.6 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006944/0.552, allocations: 5.536 MB / 0.6054 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004603/0.5566, allocations: 331.5 kB / 0.6057 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009237/0.5575, allocations: 363.9 kB / 0.6061 GB, free: 14.27 MB / 0.5137 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.004/0.5615, allocations: 1.939 MB / 0.6079 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006352/0.5622, allocations: 290.1 kB / 0.6082 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008076/0.5702, allocations: 3.9 MB / 0.612 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.052e-05/0.5703, allocations: 27.94 kB / 0.6121 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.5703, allocations: 8 kB / 0.6121 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.389e-05/0.5703, allocations: 7.969 kB / 0.6121 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01552/0.5858, allocations: 7.655 MB / 0.6195 GB, free: 336 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.5858, allocations: 0 / 0.6195 GB, free: 336 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/0.5878, allocations: 359.4 kB / 0.6199 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002798/0.5906, allocations: 0.8657 MB / 0.6207 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002067/0.5908, allocations: 39.97 kB / 0.6208 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006077/0.5969, allocations: 4.842 MB / 0.6255 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5969, allocations: 3.984 kB / 0.6255 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/0.6091, allocations: 6.862 MB / 0.6322 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009906/0.6101, allocations: 242 kB / 0.6324 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004091/0.6105, allocations: 32 kB / 0.6325 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/0.612, allocations: 127.8 kB / 0.6326 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004163/0.6124, allocations: 129 kB / 0.6327 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/0.6126, allocations: 56.06 kB / 0.6328 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002969/0.6155, allocations: 1.725 MB / 0.6345 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.6155, allocations: 0 / 0.6345 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.1905/0.806, allocations: 0.9442 MB / 0.6354 GB, free: 169.8 MB / 0.5294 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.00086/0.8069, allocations: 165.7 kB / 0.6355 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0105/0.8174, allocations: 5.77 MB / 0.6412 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.8174, allocations: 1.406 kB / 0.6412 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004171/0.8215, allocations: 2.192 MB / 0.6433 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/0.8235, allocations: 294.9 kB / 0.6436 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/0.8393, allocations: 9.005 MB / 0.6524 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003431/0.8428, allocations: 2.478 MB / 0.6548 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004345/0.8471, allocations: 1.808 MB / 0.6566 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008588/0.848, allocations: 230.5 kB / 0.6568 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of SimCode: time 1.813e-06/0.848, allocations: 0 / 0.6568 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.05182/0.8998, allocations: 29.68 MB / 0.6858 GB, free: 143.6 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.18333863094449]