Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.0.0_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.001248/0.001248, allocations: 111.8 kB / 18.45 MB, free: 4.602 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.001247/0.001247, allocations: 182.3 kB / 19.38 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 243.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1969/0.1969, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001454, allocations: 64.09 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3403, allocations: 60.81 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01193/0.3523, allocations: 10.54 MB / 0.5299 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007664/0.36, allocations: 3.198 MB / 0.533 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002045/0.3621, allocations: 56.91 kB / 0.533 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004707/0.3668, allocations: 2.358 MB / 0.5353 GB, free: 8.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004052/0.3709, allocations: 1.218 MB / 0.5365 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.3726, allocations: 0.5228 MB / 0.537 GB, free: 6.812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005178/0.3778, allocations: 2.948 MB / 0.5399 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004751/0.3826, allocations: 3.026 MB / 0.5429 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002553/0.3851, allocations: 1.277 MB / 0.5441 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002953/0.3881, allocations: 1.731 MB / 0.5458 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009729/0.3891, allocations: 296 kB / 0.5461 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/0.3915, allocations: 0.987 MB / 0.547 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001715/0.3932, allocations: 1.605 MB / 0.5486 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002717/0.3959, allocations: 1.977 MB / 0.5505 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007054/0.403, allocations: 6.277 MB / 0.5567 GB, free: 5.926 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4031, allocations: 7.938 kB / 0.5567 GB, free: 5.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4031, allocations: 0 / 0.5567 GB, free: 5.918 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001799/0.4033, allocations: 4 kB / 0.5567 GB, free: 5.914 MB / 414.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.008143/0.4114, allocations: 4.249 MB / 0.5608 GB, free: 1.598 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.4115, allocations: 8.031 kB / 0.5608 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005681/0.4172, allocations: 1.809 MB / 0.5626 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004136/0.4213, allocations: 1.778 MB / 0.5643 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/0.4216, allocations: 229.7 kB / 0.5646 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/0.4226, allocations: 299.8 kB / 0.5649 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01912/0.4417, allocations: 10.63 MB / 0.5752 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001136/0.4419, allocations: 35.66 kB / 0.5753 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004913/0.4424, allocations: 143.9 kB / 0.5754 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003288/0.4457, allocations: 2.052 MB / 0.5774 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01777/0.4635, allocations: 9.317 MB / 0.5865 GB, free: 6.605 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04364/0.5072, allocations: 37.83 MB / 0.6235 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01001/0.5172, allocations: 4.176 MB / 0.6275 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002835/0.5201, allocations: 2.308 MB / 0.6298 GB, free: 9.078 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008375/0.5285, allocations: 6.013 MB / 0.6357 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.5286, allocations: 59.8 kB / 0.6357 GB, free: 2.734 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 4.949e-06/0.5286, allocations: 0 / 0.6357 GB, free: 2.734 MB / 494.1 MB Notification: Performance of matching and sorting (n=210): time 0.06009/0.5887, allocations: 21.94 MB / 0.6571 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/0.5888, allocations: 149.8 kB / 0.6573 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004168/0.593, allocations: 3.383 MB / 0.6606 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000361/0.5934, allocations: 53.7 kB / 0.6606 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001706/0.5951, allocations: 2.801 MB / 0.6634 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008543/0.596, allocations: 0.7942 MB / 0.6641 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00143/0.5974, allocations: 1.194 MB / 0.6653 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.5975, allocations: 317 kB / 0.6656 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003076/0.6006, allocations: 2.327 MB / 0.6679 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005269/0.6059, allocations: 5.785 MB / 0.6735 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009853/0.6158, allocations: 8.802 MB / 0.6821 GB, free: 15.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-05/0.6159, allocations: 36 kB / 0.6822 GB, free: 15.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01567/0.6316, allocations: 8.679 MB / 0.6906 GB, free: 6.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.844e-05/0.6317, allocations: 56.22 kB / 0.6907 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000131/0.6319, allocations: 124 kB / 0.6908 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00263/0.6345, allocations: 1.037 MB / 0.6918 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004538/0.6391, allocations: 1.372 MB / 0.6932 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005688/0.6448, allocations: 5.817 MB / 0.6988 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004129/0.6489, allocations: 327.5 kB / 0.6992 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007694/0.6497, allocations: 356 kB / 0.6995 GB, free: 13.38 MB / 0.5606 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.003027/0.6528, allocations: 1.939 MB / 0.7014 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005916/0.6534, allocations: 312 kB / 0.7017 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006516/0.6599, allocations: 3.944 MB / 0.7055 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.702e-05/0.66, allocations: 28 kB / 0.7056 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/0.66, allocations: 4 kB / 0.7056 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/0.66, allocations: 11.91 kB / 0.7056 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0166/0.6766, allocations: 8.818 MB / 0.7142 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/0.6767, allocations: 0 / 0.7142 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001839/0.6785, allocations: 343.5 kB / 0.7145 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002458/0.681, allocations: 0.8734 MB / 0.7154 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003421/0.6814, allocations: 36 kB / 0.7154 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005538/0.6869, allocations: 5.133 MB / 0.7204 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.687, allocations: 0 / 0.7204 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/0.6976, allocations: 6.889 MB / 0.7272 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008812/0.6985, allocations: 353 kB / 0.7275 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004645/0.699, allocations: 35.98 kB / 0.7275 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/0.7004, allocations: 115.8 kB / 0.7276 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2533/0.9536, allocations: 116.8 kB / 0.7277 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004368/0.9541, allocations: 53.16 kB / 0.7278 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00415/0.9583, allocations: 2.078 MB / 0.7298 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.11e-07/0.9583, allocations: 1.094 kB / 0.7298 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005193/0.9635, allocations: 0.965 MB / 0.7308 GB, free: 183.2 MB / 0.5762 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.0004812/0.964, allocations: 178.1 kB / 0.7309 GB, free: 183.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009522/0.9736, allocations: 6.141 MB / 0.7369 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.9736, allocations: 0 / 0.7369 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004024/0.9776, allocations: 2.477 MB / 0.7394 GB, free: 179.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/0.98, allocations: 353.2 kB / 0.7397 GB, free: 179.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/0.9948, allocations: 9.457 MB / 0.7489 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003201/0.998, allocations: 3.03 MB / 0.7519 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001098/0.9991, allocations: 281.8 kB / 0.7522 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.272e-06/0.9992, allocations: 0 / 0.7522 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.1016/1.101, allocations: 125.2 MB / 0.8744 GB, free: 53.86 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches