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.001288/0.001288, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.001233/0.001233, allocations: 188 kB / 19.34 MB, free: 3.641 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.339/1.339, allocations: 222.9 MB / 243 MB, free: 15.08 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.2613/0.2613, allocations: 44.17 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 59.12 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1369, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01854/0.1555, allocations: 16.28 MB / 487 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01197/0.1675, allocations: 5.345 MB / 492.3 MB, free: 7.945 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00308/0.1706, allocations: 103.7 kB / 492.4 MB, free: 7.844 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008523/0.1792, allocations: 4.174 MB / 496.6 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007474/0.1868, allocations: 2.747 MB / 499.4 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003/0.1898, allocations: 1.263 MB / 0.4889 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01128/0.2011, allocations: 7.596 MB / 0.4963 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01033/0.2114, allocations: 5.84 MB / 0.502 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2341/0.4456, allocations: 2.671 MB / 0.5046 GB, free: 18.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008171/0.4538, allocations: 3.78 MB / 0.5083 GB, free: 18.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003951/0.4578, allocations: 0.5932 MB / 0.5089 GB, free: 18.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006573/0.4644, allocations: 1.762 MB / 0.5106 GB, free: 18.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007695/0.4721, allocations: 3.304 MB / 0.5138 GB, free: 17.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01217/0.4843, allocations: 3.806 MB / 0.5175 GB, free: 16.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01991/0.5042, allocations: 12.37 MB / 0.5296 GB, free: 12.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.5043, allocations: 2.719 kB / 0.5296 GB, free: 12.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5043, allocations: 0.7188 kB / 0.5296 GB, free: 12.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004782/0.5048, allocations: 0 / 0.5296 GB, free: 12.53 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.01999/0.5248, allocations: 7.885 MB / 0.5373 GB, free: 7.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.5248, allocations: 8.969 kB / 0.5373 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01433/0.5392, allocations: 3.94 MB / 0.5412 GB, free: 5.344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/0.55, allocations: 4.325 MB / 0.5454 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000436/0.5505, allocations: 398.4 kB / 0.5458 GB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003072/0.5536, allocations: 0.5542 MB / 0.5463 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04566/0.5993, allocations: 18.88 MB / 0.5648 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003839/0.5997, allocations: 66.09 kB / 0.5648 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002336/0.6021, allocations: 246 kB / 0.5651 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005742/0.6078, allocations: 3.428 MB / 0.5684 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0369/0.6447, allocations: 16.63 MB / 0.5847 GB, free: 11.44 MB / 430.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.09845/0.7432, allocations: 66.6 MB / 0.6497 GB, free: 7.848 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01649/0.7598, allocations: 6.261 MB / 0.6558 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004599/0.7644, allocations: 2.835 MB / 0.6586 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02792/0.7924, allocations: 13.85 MB / 0.6721 GB, free: 60 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.203e-05/0.7925, allocations: 65.78 kB / 0.6722 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 8.346e-06/0.7925, allocations: 0 / 0.6722 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=345): time 0.09052/0.883, allocations: 25.02 MB / 0.6966 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.8832, allocations: 193.5 kB / 0.6968 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01244/0.8957, allocations: 5.881 MB / 0.7025 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009932/0.8967, allocations: 76.28 kB / 0.7026 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.2256/1.122, allocations: 4.948 MB / 0.7074 GB, free: 181.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002277/1.125, allocations: 1.282 MB / 0.7087 GB, free: 180.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003666/1.128, allocations: 1.915 MB / 0.7106 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.835e-05/1.128, allocations: 301.1 kB / 0.7108 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005601/1.134, allocations: 3.355 MB / 0.7141 GB, free: 179.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009078/1.143, allocations: 8.877 MB / 0.7228 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01541/1.159, allocations: 13.18 MB / 0.7357 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002483/1.159, allocations: 54.81 kB / 0.7357 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.0269/1.186, allocations: 13 MB / 0.7484 GB, free: 154.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004197/1.186, allocations: 94.16 kB / 0.7485 GB, free: 154.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007073/1.187, allocations: 194.4 kB / 0.7487 GB, free: 154.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004718/1.192, allocations: 1.326 MB / 0.75 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007758/1.199, allocations: 2.207 MB / 0.7521 GB, free: 152.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/1.21, allocations: 7.833 MB / 0.7598 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007615/1.218, allocations: 0.501 MB / 0.7603 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001875/1.22, allocations: 0.5591 MB / 0.7608 GB, free: 144.8 MB / 0.5294 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.007224/1.227, allocations: 3.455 MB / 0.7642 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001231/1.228, allocations: 0.5244 MB / 0.7647 GB, free: 141.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/1.24, allocations: 5.392 MB / 0.77 GB, free: 136.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.025e-05/1.24, allocations: 45.8 kB / 0.77 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/1.24, allocations: 7.844 kB / 0.77 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-05/1.24, allocations: 15.48 kB / 0.77 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03157/1.272, allocations: 13.91 MB / 0.7836 GB, free: 124 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-05/1.272, allocations: 8 kB / 0.7836 GB, free: 123.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002606/1.274, allocations: 0.4915 MB / 0.7841 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003335/1.278, allocations: 0.8093 MB / 0.7849 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006947/1.279, allocations: 71.92 kB / 0.785 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008321/1.287, allocations: 5.813 MB / 0.7906 GB, free: 116.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.239e-05/1.287, allocations: 15.94 kB / 0.7907 GB, free: 116.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01331/1.3, allocations: 8.295 MB / 0.7988 GB, free: 108 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001704/1.302, allocations: 0.5567 MB / 0.7993 GB, free: 107.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001593/1.304, allocations: 71.66 kB / 0.7994 GB, free: 107.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002983/1.307, allocations: 139.7 kB / 0.7995 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006205/1.307, allocations: 217.5 kB / 0.7997 GB, free: 107 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003429/1.308, allocations: 96 kB / 0.7998 GB, free: 106.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007002/1.315, allocations: 3.658 MB / 0.8034 GB, free: 103.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.31e-07/1.315, allocations: 0 / 0.8034 GB, free: 103.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01058/1.325, allocations: 1.651 MB / 0.805 GB, free: 101.7 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 (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.001234/1.327, allocations: 266.1 kB / 0.8052 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01325/1.34, allocations: 7.943 MB / 0.813 GB, free: 93.49 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/1.34, allocations: 0 / 0.813 GB, free: 93.49 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004014/1.344, allocations: 2.383 MB / 0.8153 GB, free: 91.11 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006395/1.35, allocations: 0.6959 MB / 0.816 GB, free: 90.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0325/1.383, allocations: 15.2 MB / 0.8308 GB, free: 75.05 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01089/1.394, allocations: 5.153 MB / 0.8359 GB, free: 69.86 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008839/1.403, allocations: 2.958 MB / 0.8388 GB, free: 66.89 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002675/1.405, allocations: 379.4 kB / 0.8391 GB, free: 66.52 MB / 0.5294 GB Notification: Performance of SimCode: time 2.204e-06/1.405, allocations: 0 / 0.8391 GB, free: 66.52 MB / 0.5294 GB Notification: Performance of Templates: time 0.0974/1.503, allocations: 52.83 MB / 0.8907 GB, free: 14.17 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 -s gbode -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/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_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches