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.001375/0.001375, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001364/0.001364, allocations: 208.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2436/0.2436, allocations: 46.11 MB / 344.2 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002257, allocations: 82.81 kB / 417.7 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1441, allocations: 62.46 MB / 480.1 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.02004/0.1642, allocations: 16.22 MB / 496.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01476/0.179, allocations: 5.353 MB / 0.4899 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003905/0.1829, allocations: 95.75 kB / 0.49 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009428/0.1924, allocations: 4.158 MB / 0.4941 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00923/0.2017, allocations: 2.723 MB / 0.4967 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004311/0.2061, allocations: 1.267 MB / 0.498 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3329/0.539, allocations: 7.706 MB / 0.5055 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01089/0.5499, allocations: 5.848 MB / 0.5112 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007064/0.557, allocations: 2.672 MB / 0.5138 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009149/0.5662, allocations: 3.772 MB / 0.5175 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00355/0.5698, allocations: 0.5936 MB / 0.5181 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006655/0.5765, allocations: 1.742 MB / 0.5198 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006857/0.5834, allocations: 3.28 MB / 0.523 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008437/0.5918, allocations: 3.769 MB / 0.5267 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01644/0.6083, allocations: 11.88 MB / 0.5383 GB, free: 3.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.6084, allocations: 0 / 0.5383 GB, free: 3.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6084, allocations: 0 / 0.5383 GB, free: 3.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005506/0.6089, allocations: 0 / 0.5383 GB, free: 3.191 MB / 382.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.02441/0.6334, allocations: 7.84 MB / 0.5459 GB, free: 14.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.6334, allocations: 12 kB / 0.5459 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01798/0.6514, allocations: 3.935 MB / 0.5498 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01252/0.664, allocations: 4.171 MB / 0.5539 GB, free: 7.012 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004817/0.6645, allocations: 402.2 kB / 0.5542 GB, free: 6.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003659/0.6682, allocations: 0.5592 MB / 0.5548 GB, free: 6.184 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.046/0.7142, allocations: 18.88 MB / 0.5732 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002353/0.7145, allocations: 72.86 kB / 0.5733 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001042/0.7155, allocations: 244.1 kB / 0.5735 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005843/0.7214, allocations: 3.426 MB / 0.5769 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03924/0.7606, allocations: 16.64 MB / 0.5931 GB, free: 14.59 MB / 446.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.09938/0.8601, allocations: 66.9 MB / 0.6585 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01789/0.878, allocations: 6.27 MB / 0.6646 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004716/0.8827, allocations: 2.838 MB / 0.6674 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02615/0.9089, allocations: 13.94 MB / 0.681 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.616e-05/0.909, allocations: 64.5 kB / 0.681 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 5.901e-06/0.9091, allocations: 4 kB / 0.681 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of matching and sorting (n=345): time 0.1265/1.036, allocations: 24.83 MB / 0.7053 GB, free: 9.863 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001968/1.036, allocations: 192.2 kB / 0.7055 GB, free: 9.637 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01873/1.055, allocations: 5.884 MB / 0.7112 GB, free: 3.773 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001003/1.056, allocations: 73.7 kB / 0.7113 GB, free: 3.695 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.3139/1.369, allocations: 4.938 MB / 0.7161 GB, free: 188.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002357/1.372, allocations: 1.285 MB / 0.7174 GB, free: 188.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004618/1.377, allocations: 1.907 MB / 0.7192 GB, free: 188 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.748e-05/1.377, allocations: 305.9 kB / 0.7195 GB, free: 187.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006274/1.383, allocations: 3.362 MB / 0.7228 GB, free: 186.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009853/1.393, allocations: 8.877 MB / 0.7315 GB, free: 178.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01706/1.41, allocations: 13.19 MB / 0.7444 GB, free: 167.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003616/1.41, allocations: 55 kB / 0.7444 GB, free: 167.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02806/1.438, allocations: 13.01 MB / 0.7571 GB, free: 162.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001574/1.439, allocations: 95.91 kB / 0.7572 GB, free: 162.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000281/1.439, allocations: 190.5 kB / 0.7574 GB, free: 162.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004154/1.443, allocations: 1.322 MB / 0.7587 GB, free: 162.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007312/1.45, allocations: 2.209 MB / 0.7608 GB, free: 161.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/1.461, allocations: 7.851 MB / 0.7685 GB, free: 156.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008297/1.469, allocations: 0.507 MB / 0.769 GB, free: 156.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001638/1.471, allocations: 0.5521 MB / 0.7695 GB, free: 155.7 MB / 0.545 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.00757/1.479, allocations: 3.451 MB / 0.7729 GB, free: 152.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001094/1.48, allocations: 0.5244 MB / 0.7734 GB, free: 152.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009964/1.49, allocations: 5.411 MB / 0.7787 GB, free: 147.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.889e-05/1.49, allocations: 40.61 kB / 0.7787 GB, free: 147.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/1.49, allocations: 8 kB / 0.7787 GB, free: 147.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.568e-05/1.49, allocations: 18.67 kB / 0.7788 GB, free: 147.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02472/1.515, allocations: 13.99 MB / 0.7924 GB, free: 135.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.386e-05/1.515, allocations: 12.19 kB / 0.7924 GB, free: 135.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001966/1.517, allocations: 0.4927 MB / 0.7929 GB, free: 134.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002936/1.52, allocations: 0.8246 MB / 0.7937 GB, free: 133.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002306/1.52, allocations: 64.86 kB / 0.7938 GB, free: 133.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008009/1.528, allocations: 5.818 MB / 0.7995 GB, free: 127.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/1.528, allocations: 19.88 kB / 0.7995 GB, free: 127.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01208/1.54, allocations: 8.298 MB / 0.8076 GB, free: 119.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001772/1.542, allocations: 0.5567 MB / 0.8081 GB, free: 118.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005985/1.542, allocations: 73.41 kB / 0.8082 GB, free: 118.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/1.544, allocations: 132.8 kB / 0.8083 GB, free: 118.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005352/1.545, allocations: 225.5 kB / 0.8085 GB, free: 118.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002311/1.545, allocations: 105.4 kB / 0.8086 GB, free: 118.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006594/1.552, allocations: 3.646 MB / 0.8122 GB, free: 114.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.763e-06/1.552, allocations: 0 / 0.8122 GB, free: 114.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009208/1.561, allocations: 1.619 MB / 0.8138 GB, free: 113 MB / 0.545 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.0006351/1.562, allocations: 263.3 kB / 0.814 GB, free: 112.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01748/1.579, allocations: 11.32 MB / 0.8251 GB, free: 101.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.538e-05/1.579, allocations: 0 / 0.8251 GB, free: 101.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004187/1.583, allocations: 2.386 MB / 0.8274 GB, free: 99.04 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00638/1.59, allocations: 0.711 MB / 0.8281 GB, free: 98.35 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04033/1.63, allocations: 15.38 MB / 0.8431 GB, free: 82.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01437/1.644, allocations: 5.164 MB / 0.8482 GB, free: 77.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0161/1.661, allocations: 2.95 MB / 0.8511 GB, free: 74.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003016/1.664, allocations: 391.4 kB / 0.8514 GB, free: 74.24 MB / 0.545 GB Notification: Performance of SimCode: time 2.164e-06/1.664, allocations: 0 / 0.8514 GB, free: 74.24 MB / 0.545 GB Notification: Performance of Templates: time 0.1596/1.823, allocations: 60.66 MB / 0.9107 GB, free: 13.89 MB / 0.545 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/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_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches