Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 117.7 kB / 17.78 MB, free: 5.258 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.001348/0.001348, allocations: 179.1 kB / 18.71 MB, free: 4.336 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.333/1.333, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2024/0.2024, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 59.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4176, allocations: 60.81 MB / 0.5189 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01766/0.4353, allocations: 16.29 MB / 0.5348 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01261/0.448, allocations: 5.34 MB / 0.54 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004043/0.452, allocations: 97.88 kB / 0.5401 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009592/0.4617, allocations: 4.167 MB / 0.5442 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009566/0.4713, allocations: 2.752 MB / 0.5469 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003788/0.4752, allocations: 1.257 MB / 0.5481 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01433/0.4895, allocations: 7.619 MB / 0.5555 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01165/0.5012, allocations: 5.848 MB / 0.5612 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005887/0.5072, allocations: 2.675 MB / 0.5638 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006887/0.5141, allocations: 3.778 MB / 0.5675 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002528/0.5166, allocations: 0.5938 MB / 0.5681 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006053/0.5227, allocations: 1.752 MB / 0.5698 GB, free: 7.688 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005737/0.5285, allocations: 3.316 MB / 0.5731 GB, free: 4.363 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008497/0.537, allocations: 3.803 MB / 0.5768 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01903/0.5561, allocations: 12.43 MB / 0.5889 GB, free: 4.066 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.5562, allocations: 0 / 0.5889 GB, free: 4.066 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.5562, allocations: 0 / 0.5889 GB, free: 4.066 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005278/0.5567, allocations: 0 / 0.5889 GB, free: 4.066 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.02136/0.5781, allocations: 8.092 MB / 0.5968 GB, free: 11.87 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.5781, allocations: 12.03 kB / 0.5968 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01656/0.5947, allocations: 3.985 MB / 0.6007 GB, free: 7.863 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009499/0.6043, allocations: 4.336 MB / 0.605 GB, free: 3.469 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000412/0.6047, allocations: 398 kB / 0.6053 GB, free: 3.078 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002536/0.6073, allocations: 0.5581 MB / 0.6059 GB, free: 2.52 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0379/0.6452, allocations: 18.87 MB / 0.6243 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001949/0.6454, allocations: 71.41 kB / 0.6244 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008164/0.6462, allocations: 247.7 kB / 0.6246 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004934/0.6512, allocations: 3.436 MB / 0.628 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03517/0.6864, allocations: 16.63 MB / 0.6442 GB, free: 10.2 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0927/0.7791, allocations: 66.71 MB / 0.7093 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5096/1.289, allocations: 6.269 MB / 0.7155 GB, free: 164.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004502/1.293, allocations: 2.835 MB / 0.7182 GB, free: 163.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02382/1.317, allocations: 13.88 MB / 0.7318 GB, free: 156.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.482e-05/1.317, allocations: 58.19 kB / 0.7318 GB, free: 156.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 5.851e-06/1.317, allocations: 0 / 0.7318 GB, free: 156.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.07616/1.393, allocations: 25.41 MB / 0.7567 GB, free: 145.9 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/1.394, allocations: 188.3 kB / 0.7568 GB, free: 145.7 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006087/1.4, allocations: 5.902 MB / 0.7626 GB, free: 139.9 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003952/1.4, allocations: 77.7 kB / 0.7627 GB, free: 139.9 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002069/1.402, allocations: 5.149 MB / 0.7677 GB, free: 135 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008906/1.403, allocations: 1.345 MB / 0.769 GB, free: 133.7 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001992/1.405, allocations: 1.925 MB / 0.7709 GB, free: 131.8 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 6.97e-05/1.405, allocations: 301.1 kB / 0.7712 GB, free: 131.5 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004019/1.409, allocations: 3.349 MB / 0.7745 GB, free: 128.1 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00604/1.415, allocations: 8.876 MB / 0.7831 GB, free: 116.5 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01259/1.428, allocations: 13.18 MB / 0.796 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002041/1.428, allocations: 59.94 kB / 0.7961 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02369/1.452, allocations: 13.02 MB / 0.8088 GB, free: 87.48 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/1.452, allocations: 88 kB / 0.8089 GB, free: 87.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001898/1.452, allocations: 192 kB / 0.809 GB, free: 87.21 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003777/1.456, allocations: 1.314 MB / 0.8103 GB, free: 85.89 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006736/1.463, allocations: 2.211 MB / 0.8125 GB, free: 83.68 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/1.473, allocations: 7.846 MB / 0.8201 GB, free: 75.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007275/1.48, allocations: 0.5035 MB / 0.8206 GB, free: 75.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001557/1.482, allocations: 0.5503 MB / 0.8212 GB, free: 74.65 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 880 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1179): * Single equations (assignments): 1172 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005043/1.487, allocations: 3.46 MB / 0.8246 GB, free: 71.18 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/1.488, allocations: 0.551 MB / 0.8251 GB, free: 70.62 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009475/1.497, allocations: 5.396 MB / 0.8304 GB, free: 65.17 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-05/1.497, allocations: 36 kB / 0.8304 GB, free: 65.13 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/1.498, allocations: 13.5 kB / 0.8304 GB, free: 65.12 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.313e-05/1.498, allocations: 11.95 kB / 0.8304 GB, free: 65.11 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02469/1.522, allocations: 13.93 MB / 0.844 GB, free: 50.96 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.648e-05/1.522, allocations: 12 kB / 0.844 GB, free: 50.95 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/1.524, allocations: 499.2 kB / 0.8445 GB, free: 50.46 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002932/1.527, allocations: 0.8168 MB / 0.8453 GB, free: 49.64 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002128/1.528, allocations: 67.98 kB / 0.8454 GB, free: 49.57 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007484/1.535, allocations: 5.807 MB / 0.851 GB, free: 43.62 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/1.535, allocations: 23.94 kB / 0.8511 GB, free: 43.6 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01096/1.546, allocations: 8.326 MB / 0.8592 GB, free: 34.99 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/1.547, allocations: 0.591 MB / 0.8598 GB, free: 34.38 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005773/1.548, allocations: 63.98 kB / 0.8598 GB, free: 34.32 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/1.55, allocations: 131.9 kB / 0.86 GB, free: 34.19 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003759/1.55, allocations: 229 kB / 0.8602 GB, free: 33.96 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001766/1.55, allocations: 100 kB / 0.8603 GB, free: 33.87 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004456/1.555, allocations: 3.658 MB / 0.8639 GB, free: 30.24 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.51e-07/1.555, allocations: 0.5625 kB / 0.8639 GB, free: 30.24 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007089/1.562, allocations: 1.648 MB / 0.8655 GB, free: 28.59 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.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 (269): * Single equations (assignments): 262 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006265/1.563, allocations: 273.3 kB / 0.8657 GB, free: 28.32 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01118/1.574, allocations: 7.942 MB / 0.8735 GB, free: 20.39 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.696e-05/1.574, allocations: 4.125 kB / 0.8735 GB, free: 20.39 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.003597/1.577, allocations: 2.372 MB / 0.8758 GB, free: 18 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005687/1.583, allocations: 0.6889 MB / 0.8765 GB, free: 17.32 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02685/1.61, allocations: 15.44 MB / 0.8916 GB, free: 1.68 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006668/1.617, allocations: 5.148 MB / 0.8966 GB, free: 12.49 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007173/1.624, allocations: 2.966 MB / 0.8995 GB, free: 9.516 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/1.625, allocations: 387.3 kB / 0.8998 GB, free: 9.137 MB / 0.5763 GB Notification: Performance of SimCode: time 1.883e-06/1.625, allocations: 0 / 0.8998 GB, free: 9.137 MB / 0.5763 GB Notification: Performance of Templates: time 0.3978/2.023, allocations: 56.13 MB / 0.9547 GB, free: 206.2 MB / 0.6232 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches