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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001604/0.001604, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002075/0.002076, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2197/0.2197, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 83.86 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3377, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01095/0.3487, allocations: 10.5 MB / 0.5419 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006557/0.3553, allocations: 3.262 MB / 0.5451 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.357, allocations: 52.78 kB / 0.5451 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004516/0.3616, allocations: 2.381 MB / 0.5475 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003633/0.3653, allocations: 1.246 MB / 0.5487 GB, free: 260 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.3667, allocations: 0.5182 MB / 0.5492 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004495/0.3712, allocations: 2.917 MB / 0.552 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004039/0.3753, allocations: 3.028 MB / 0.555 GB, free: 9.762 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/0.3773, allocations: 1.273 MB / 0.5562 GB, free: 8.484 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002574/0.3799, allocations: 1.721 MB / 0.5579 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007961/0.3807, allocations: 292 kB / 0.5582 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.3828, allocations: 1.003 MB / 0.5592 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001804/0.3846, allocations: 1.586 MB / 0.5607 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002743/0.3874, allocations: 1.957 MB / 0.5626 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007753/0.3952, allocations: 6.234 MB / 0.5687 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.3952, allocations: 4 kB / 0.5687 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3952, allocations: 0 / 0.5687 GB, free: 11.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000276/0.3955, allocations: 0 / 0.5687 GB, free: 11.65 MB / 430.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.00989/0.4054, allocations: 4.238 MB / 0.5729 GB, free: 7.348 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4055, allocations: 8.031 kB / 0.5729 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006114/0.4116, allocations: 1.817 MB / 0.5747 GB, free: 5.516 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004077/0.4157, allocations: 1.765 MB / 0.5764 GB, free: 3.703 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.4159, allocations: 229.7 kB / 0.5766 GB, free: 3.477 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008563/0.4167, allocations: 307.7 kB / 0.5769 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02079/0.4375, allocations: 10.65 MB / 0.5873 GB, free: 7.895 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001125/0.4377, allocations: 39.58 kB / 0.5873 GB, free: 7.855 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004157/0.4381, allocations: 143.9 kB / 0.5875 GB, free: 7.715 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003438/0.4416, allocations: 2.036 MB / 0.5895 GB, free: 5.672 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01872/0.4603, allocations: 9.348 MB / 0.5986 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04482/0.5051, allocations: 37.84 MB / 0.6355 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01073/0.5159, allocations: 4.2 MB / 0.6396 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002772/0.5187, allocations: 2.307 MB / 0.6419 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008733/0.5275, allocations: 6.1 MB / 0.6479 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.5275, allocations: 47.88 kB / 0.6479 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 4.408e-06/0.5276, allocations: 0 / 0.6479 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=210): time 0.06238/0.5899, allocations: 22.03 MB / 0.6694 GB, free: 2.113 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.59, allocations: 153.8 kB / 0.6696 GB, free: 1.93 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004141/0.5942, allocations: 3.374 MB / 0.6729 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002154/0.5944, allocations: 53.7 kB / 0.6729 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001695/0.5961, allocations: 2.801 MB / 0.6756 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007063/0.5968, allocations: 0.7827 MB / 0.6764 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00143/0.5983, allocations: 1.194 MB / 0.6776 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.5984, allocations: 309.1 kB / 0.6779 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003265/0.6016, allocations: 2.342 MB / 0.6802 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005242/0.6069, allocations: 5.788 MB / 0.6858 GB, free: 15.49 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00964/0.6166, allocations: 8.828 MB / 0.6944 GB, free: 4.965 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.666e-05/0.6166, allocations: 32 kB / 0.6945 GB, free: 4.934 MB / 0.545 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01456/0.6312, allocations: 8.696 MB / 0.7029 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.202e-05/0.6313, allocations: 56 kB / 0.703 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001372/0.6314, allocations: 124.9 kB / 0.7031 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002773/0.6342, allocations: 1.042 MB / 0.7041 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004667/0.6389, allocations: 1.388 MB / 0.7055 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006039/0.645, allocations: 5.811 MB / 0.7112 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004863/0.6499, allocations: 327.7 kB / 0.7115 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008239/0.6507, allocations: 356 kB / 0.7118 GB, free: 2.832 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.00402/0.6547, allocations: 1.947 MB / 0.7137 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007077/0.6555, allocations: 308 kB / 0.714 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007548/0.663, allocations: 3.955 MB / 0.7179 GB, free: 12.59 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.022e-05/0.663, allocations: 7.969 kB / 0.7179 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.6631, allocations: 0 / 0.7179 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008418/0.6639, allocations: 364.8 kB / 0.7182 GB, free: 12.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004403/0.6644, allocations: 39.98 kB / 0.7183 GB, free: 12.16 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/0.6658, allocations: 119.8 kB / 0.7184 GB, free: 12.04 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003628/0.6662, allocations: 133 kB / 0.7185 GB, free: 11.91 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008634/0.6748, allocations: 4.513 MB / 0.7229 GB, free: 7.383 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008459/0.6833, allocations: 6.232 MB / 0.729 GB, free: 1.133 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2805/0.9638, allocations: 1.676 MB / 0.7306 GB, free: 177.8 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003299/0.9671, allocations: 2.073 MB / 0.7327 GB, free: 177.6 MB / 0.5763 GB Notification: Performance of Backend: time 3.71e-07/0.9672, allocations: 1.531 kB / 0.7327 GB, free: 177.6 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.009376/0.9765, allocations: 4.874 MB / 0.7374 GB, free: 175.7 MB / 0.5763 GB Notification: Performance of SimCode: time 0.0119/0.9885, allocations: 8.478 MB / 0.7457 GB, free: 171.8 MB / 0.5763 GB Notification: Performance of Templates: time 0.06007/1.049, allocations: 45.56 MB / 0.7902 GB, free: 133.5 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (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) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches