Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001202/0.001202, allocations: 113.7 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001415/0.001415, allocations: 206.7 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2103/0.2103, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002699/0.002699, allocations: 75.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3859, allocations: 62.44 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01813/0.4041, allocations: 16.24 MB / 0.5475 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01261/0.4168, allocations: 5.343 MB / 0.5527 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003769/0.4206, allocations: 99.75 kB / 0.5528 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008296/0.4289, allocations: 4.15 MB / 0.5569 GB, free: 7.797 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008195/0.4372, allocations: 2.719 MB / 0.5595 GB, free: 5.066 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003382/0.4406, allocations: 1.263 MB / 0.5608 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01155/0.4522, allocations: 7.724 MB / 0.5683 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009419/0.4616, allocations: 5.846 MB / 0.574 GB, free: 6.137 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005603/0.4673, allocations: 2.667 MB / 0.5766 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006595/0.4739, allocations: 3.774 MB / 0.5803 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002344/0.4763, allocations: 0.5938 MB / 0.5809 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00493/0.4813, allocations: 1.748 MB / 0.5826 GB, free: 13.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005028/0.4863, allocations: 3.308 MB / 0.5858 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008351/0.4947, allocations: 3.764 MB / 0.5895 GB, free: 6.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01961/0.5144, allocations: 12.3 MB / 0.6015 GB, free: 9.887 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.5144, allocations: 4 kB / 0.6015 GB, free: 9.883 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5144, allocations: 4 kB / 0.6015 GB, free: 9.879 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005132/0.515, allocations: 0 / 0.6015 GB, free: 9.879 MB / 462.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.02446/0.5394, allocations: 7.84 MB / 0.6092 GB, free: 1.953 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.5395, allocations: 8.031 kB / 0.6092 GB, free: 1.945 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01758/0.5571, allocations: 3.941 MB / 0.613 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01229/0.5694, allocations: 4.237 MB / 0.6172 GB, free: 9.691 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005276/0.57, allocations: 402 kB / 0.6176 GB, free: 9.297 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002946/0.573, allocations: 0.5425 MB / 0.6181 GB, free: 8.754 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04351/0.6165, allocations: 18.89 MB / 0.6365 GB, free: 4.816 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003828/0.6169, allocations: 67.36 kB / 0.6366 GB, free: 4.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002453/0.6194, allocations: 251.7 kB / 0.6368 GB, free: 4.504 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005914/0.6253, allocations: 3.44 MB / 0.6402 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03923/0.6646, allocations: 16.62 MB / 0.6564 GB, free: 428 kB / 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.6913/1.356, allocations: 66.59 MB / 0.7214 GB, free: 144.3 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01706/1.373, allocations: 6.265 MB / 0.7276 GB, free: 143 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004123/1.377, allocations: 2.839 MB / 0.7303 GB, free: 143 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02267/1.4, allocations: 13.94 MB / 0.744 GB, free: 136.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.874e-05/1.4, allocations: 68.8 kB / 0.744 GB, free: 136.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 5.7e-06/1.4, allocations: 3.938 kB / 0.744 GB, free: 136.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.07896/1.479, allocations: 24.83 MB / 0.7683 GB, free: 121.4 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.312e-05/1.479, allocations: 199.8 kB / 0.7685 GB, free: 121.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007411/1.486, allocations: 5.884 MB / 0.7742 GB, free: 115.3 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0006619/1.487, allocations: 69.7 kB / 0.7743 GB, free: 115.2 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002324/1.49, allocations: 4.953 MB / 0.7791 GB, free: 110.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001184/1.491, allocations: 1.284 MB / 0.7804 GB, free: 109 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002108/1.493, allocations: 1.908 MB / 0.7822 GB, free: 107.1 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.237e-05/1.493, allocations: 301.1 kB / 0.7825 GB, free: 106.8 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004175/1.497, allocations: 3.361 MB / 0.7858 GB, free: 103.4 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006614/1.504, allocations: 8.881 MB / 0.7945 GB, free: 91.93 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01176/1.516, allocations: 13.19 MB / 0.8074 GB, free: 76.12 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000151/1.516, allocations: 52 kB / 0.8074 GB, free: 76.07 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02122/1.537, allocations: 13.01 MB / 0.8201 GB, free: 63.02 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.579e-05/1.537, allocations: 88 kB / 0.8202 GB, free: 62.93 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000167/1.537, allocations: 192 kB / 0.8204 GB, free: 62.75 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003739/1.541, allocations: 1.322 MB / 0.8217 GB, free: 61.43 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006516/1.548, allocations: 2.211 MB / 0.8238 GB, free: 59.21 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/1.558, allocations: 7.846 MB / 0.8315 GB, free: 51.23 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007196/1.565, allocations: 0.4955 MB / 0.832 GB, free: 50.74 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001526/1.567, allocations: 0.5584 MB / 0.8325 GB, free: 50.18 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.005613/1.572, allocations: 3.444 MB / 0.8359 GB, free: 46.72 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/1.574, allocations: 0.5245 MB / 0.8364 GB, free: 46.19 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009975/1.584, allocations: 5.404 MB / 0.8417 GB, free: 40.73 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.444e-05/1.584, allocations: 43.98 kB / 0.8417 GB, free: 40.69 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/1.584, allocations: 8 kB / 0.8417 GB, free: 40.68 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.199e-05/1.584, allocations: 15.95 kB / 0.8417 GB, free: 40.66 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02621/1.61, allocations: 13.91 MB / 0.8553 GB, free: 26.53 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-05/1.61, allocations: 12.97 kB / 0.8553 GB, free: 26.52 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002099/1.612, allocations: 0.5018 MB / 0.8558 GB, free: 26.02 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003132/1.615, allocations: 0.8091 MB / 0.8566 GB, free: 25.2 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000409/1.616, allocations: 71.73 kB / 0.8567 GB, free: 25.14 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007962/1.624, allocations: 5.813 MB / 0.8624 GB, free: 19.19 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/1.624, allocations: 19.94 kB / 0.8624 GB, free: 19.17 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01258/1.636, allocations: 8.295 MB / 0.8705 GB, free: 10.58 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/1.638, allocations: 0.5605 MB / 0.871 GB, free: 9.996 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000884/1.639, allocations: 63.12 kB / 0.8711 GB, free: 9.938 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/1.641, allocations: 143.9 kB / 0.8712 GB, free: 9.797 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005004/1.641, allocations: 221.4 kB / 0.8714 GB, free: 9.582 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001894/1.641, allocations: 99.98 kB / 0.8715 GB, free: 9.484 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005072/1.646, allocations: 3.646 MB / 0.8751 GB, free: 5.867 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.767e-06/1.646, allocations: 4 kB / 0.8751 GB, free: 5.863 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007641/1.654, allocations: 1.628 MB / 0.8767 GB, free: 4.246 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.0008641/1.655, allocations: 265.9 kB / 0.8769 GB, free: 3.992 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0122/1.667, allocations: 7.94 MB / 0.8847 GB, free: 12.07 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.509e-05/1.667, allocations: 4 kB / 0.8847 GB, free: 12.07 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.004168/1.671, allocations: 2.383 MB / 0.887 GB, free: 9.668 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0045/1.676, allocations: 0.7117 MB / 0.8877 GB, free: 8.973 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02905/1.705, allocations: 15.94 MB / 0.9033 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007644/1.713, allocations: 5.149 MB / 0.9083 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00203/1.715, allocations: 451.4 kB / 0.9087 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of SimCode: time 1.052e-06/1.715, allocations: 0 / 0.9087 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of Templates: time 0.4115/2.126, allocations: 126.7 MB / 1.032 GB, free: 155.6 MB / 0.6388 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches