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.0009804/0.0009804, allocations: 99.59 kB / 16.99 MB, free: 5.938 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.0009161/0.0009162, allocations: 181.6 kB / 17.87 MB, free: 5.598 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.392/1.392, allocations: 223.2 MB / 241.8 MB, free: 368 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2337/0.2337, allocations: 44.23 MB / 337.1 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003326, allocations: 8.75 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1366, allocations: 61.92 MB / 471.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.345/0.4817, allocations: 49.77 MB / 0.509 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02814/0.5099, allocations: 12.19 MB / 0.5209 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01469/0.5246, allocations: 246.9 kB / 0.5211 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01041/0.535, allocations: 2.481 MB / 0.5236 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02992/0.565, allocations: 7.178 MB / 0.5306 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005529/0.5705, allocations: 1.053 MB / 0.5316 GB, free: 7.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03953/0.6101, allocations: 26.83 MB / 0.5578 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01322/0.6233, allocations: 6.985 MB / 0.5646 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005238/0.6287, allocations: 1.769 MB / 0.5664 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005396/0.6341, allocations: 2.509 MB / 0.5688 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002111/0.6362, allocations: 264 kB / 0.5691 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004733/0.641, allocations: 1.262 MB / 0.5703 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00496/0.646, allocations: 2.681 MB / 0.5729 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003344/0.6493, allocations: 1.384 MB / 0.5743 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01303/0.6624, allocations: 9.604 MB / 0.5836 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.6624, allocations: 1.641 kB / 0.5836 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.6624, allocations: 0 / 0.5836 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005948/0.663, allocations: 0 / 0.5836 GB, free: 0.7539 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: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.02096/0.684, allocations: 6.68 MB / 0.5902 GB, free: 10.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.6841, allocations: 12.03 kB / 0.5902 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03449/0.7186, allocations: 7.163 MB / 0.5972 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01331/0.7319, allocations: 4.454 MB / 0.6015 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005941/0.7325, allocations: 402 kB / 0.6019 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003175/0.7357, allocations: 0.554 MB / 0.6024 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04743/0.7832, allocations: 19.05 MB / 0.621 GB, free: 9.277 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004856/0.7837, allocations: 67.31 kB / 0.6211 GB, free: 9.211 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00305/0.7868, allocations: 255.7 kB / 0.6214 GB, free: 8.961 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00624/0.7931, allocations: 3.424 MB / 0.6247 GB, free: 5.531 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04696/0.8401, allocations: 16.74 MB / 0.641 GB, free: 4.77 MB / 478.1 MB 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.4329/1.273, allocations: 66.94 MB / 0.7064 GB, free: 168.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01778/1.291, allocations: 6.289 MB / 0.7126 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02723/1.318, allocations: 13.96 MB / 0.7262 GB, free: 163 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/1.318, allocations: 67.95 kB / 0.7263 GB, free: 163 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 5.12e-06/1.318, allocations: 0 / 0.7263 GB, free: 163 MB / 0.5294 GB Notification: Performance of matching and sorting (n=345): time 0.07962/1.398, allocations: 25.86 MB / 0.7515 GB, free: 154.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.128e-05/1.398, allocations: 187.1 kB / 0.7517 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007806/1.406, allocations: 6.217 MB / 0.7578 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006482/1.407, allocations: 69.7 kB / 0.7578 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002695/1.409, allocations: 4.988 MB / 0.7627 GB, free: 146.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001481/1.411, allocations: 1.281 MB / 0.7639 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004676/1.411, allocations: 185.9 kB / 0.7641 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004041/1.412, allocations: 0.71 MB / 0.7648 GB, free: 144.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004441/1.416, allocations: 3.258 MB / 0.768 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006766/1.423, allocations: 8.693 MB / 0.7765 GB, free: 130.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007279/1.43, allocations: 5.225 MB / 0.7816 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.401e-05/1.43, allocations: 56 kB / 0.7816 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02327/1.454, allocations: 12.74 MB / 0.7941 GB, free: 112.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002099/1.454, allocations: 84 kB / 0.7942 GB, free: 112.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002814/1.454, allocations: 192.5 kB / 0.7944 GB, free: 112.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004236/1.458, allocations: 1.346 MB / 0.7957 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007273/1.466, allocations: 2.16 MB / 0.7978 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/1.477, allocations: 7.528 MB / 0.8051 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008056/1.485, allocations: 0.5031 MB / 0.8056 GB, free: 100.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001781/1.487, allocations: 0.5468 MB / 0.8062 GB, free: 99.92 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * 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 (1152): * Single equations (assignments): 1145 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007631/1.494, allocations: 3.447 MB / 0.8095 GB, free: 96.46 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001566/1.496, allocations: 0.5244 MB / 0.81 GB, free: 95.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01273/1.509, allocations: 5.394 MB / 0.8153 GB, free: 90.47 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-05/1.509, allocations: 37.09 kB / 0.8153 GB, free: 90.44 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.132e-05/1.509, allocations: 8 kB / 0.8153 GB, free: 90.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.286e-05/1.509, allocations: 19.94 kB / 0.8154 GB, free: 90.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03567/1.545, allocations: 14.01 MB / 0.829 GB, free: 76.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.236e-05/1.545, allocations: 12 kB / 0.8291 GB, free: 76.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002387/1.547, allocations: 0.4953 MB / 0.8295 GB, free: 75.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00334/1.55, allocations: 0.8056 MB / 0.8303 GB, free: 74.87 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005511/1.551, allocations: 77.66 kB / 0.8304 GB, free: 74.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008481/1.56, allocations: 5.548 MB / 0.8358 GB, free: 69.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/1.56, allocations: 19.89 kB / 0.8358 GB, free: 69.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/1.575, allocations: 10 MB / 0.8456 GB, free: 58.49 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002273/1.578, allocations: 0.5878 MB / 0.8462 GB, free: 57.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001825/1.579, allocations: 67.11 kB / 0.8462 GB, free: 57.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00346/1.583, allocations: 131.9 kB / 0.8464 GB, free: 57.68 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007595/1.584, allocations: 221.5 kB / 0.8466 GB, free: 57.47 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004431/1.584, allocations: 106.2 kB / 0.8467 GB, free: 57.37 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007871/1.592, allocations: 3.91 MB / 0.8505 GB, free: 53.49 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.51e-07/1.592, allocations: 0 / 0.8505 GB, free: 53.49 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01247/1.604, allocations: 1.655 MB / 0.8521 GB, free: 51.84 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001459/1.606, allocations: 275.2 kB / 0.8524 GB, free: 51.58 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01372/1.62, allocations: 7.746 MB / 0.8599 GB, free: 43.85 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.599e-05/1.62, allocations: 0 / 0.8599 GB, free: 43.85 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004199/1.624, allocations: 2.371 MB / 0.8623 GB, free: 41.47 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004324/1.628, allocations: 0.6369 MB / 0.8629 GB, free: 40.84 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03226/1.661, allocations: 18.08 MB / 0.8805 GB, free: 22.58 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009039/1.67, allocations: 5.301 MB / 0.8857 GB, free: 17.24 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008613/1.678, allocations: 2.974 MB / 0.8886 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002068/1.68, allocations: 395.4 kB / 0.889 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of SimCode: time 8.82e-07/1.68, allocations: 0 / 0.889 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of Templates: time 0.6454/2.326, allocations: 57.54 MB / 0.9452 GB, free: 149.1 MB / 0.5294 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches