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.001105/0.001105, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001013/0.001013, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.367/1.367, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.218/0.218, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 64.3 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1176, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.0174/0.1351, allocations: 16.27 MB / 486.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01205/0.1472, allocations: 5.349 MB / 491.5 MB, free: 8.664 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003293/0.1505, allocations: 99.75 kB / 491.6 MB, free: 8.566 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008262/0.1588, allocations: 4.17 MB / 495.8 MB, free: 4.383 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007996/0.1669, allocations: 2.751 MB / 498.6 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003239/0.1701, allocations: 1.267 MB / 499.8 MB, free: 360 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01111/0.1813, allocations: 7.593 MB / 0.4955 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00967/0.191, allocations: 5.84 MB / 0.5012 GB, free: 2.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006061/0.1971, allocations: 2.679 MB / 0.5039 GB, free: 140 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2444/0.4415, allocations: 3.778 MB / 0.5075 GB, free: 19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003418/0.445, allocations: 0.5926 MB / 0.5081 GB, free: 19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006544/0.4516, allocations: 1.758 MB / 0.5098 GB, free: 19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007478/0.4591, allocations: 3.309 MB / 0.5131 GB, free: 18.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01181/0.4709, allocations: 3.799 MB / 0.5168 GB, free: 17.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01948/0.4904, allocations: 11.96 MB / 0.5285 GB, free: 14.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4905, allocations: 0 / 0.5285 GB, free: 14.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4905, allocations: 0.6562 kB / 0.5285 GB, free: 14.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006027/0.4911, allocations: 0 / 0.5285 GB, free: 14.02 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.02671/0.5179, allocations: 7.885 MB / 0.5362 GB, free: 8.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.5179, allocations: 9.844 kB / 0.5362 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01709/0.535, allocations: 3.948 MB / 0.54 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009726/0.5448, allocations: 4.254 MB / 0.5442 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003431/0.5452, allocations: 404.7 kB / 0.5446 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002466/0.5476, allocations: 0.5489 MB / 0.5451 GB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03783/0.5855, allocations: 18.87 MB / 0.5635 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002254/0.5857, allocations: 65.62 kB / 0.5636 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001348/0.5871, allocations: 256.1 kB / 0.5638 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005634/0.5927, allocations: 3.431 MB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03827/0.631, allocations: 16.62 MB / 0.5834 GB, free: 13.61 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.0991/0.7302, allocations: 66.91 MB / 0.6488 GB, free: 9.707 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0167/0.7469, allocations: 6.267 MB / 0.6549 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004642/0.7516, allocations: 2.836 MB / 0.6577 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02653/0.7781, allocations: 13.85 MB / 0.6712 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.422e-05/0.7782, allocations: 67.84 kB / 0.6712 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=284): time 5.871e-06/0.7783, allocations: 0 / 0.6712 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=345): time 0.08963/0.8679, allocations: 25.03 MB / 0.6957 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.868, allocations: 188.3 kB / 0.6959 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009129/0.8772, allocations: 5.876 MB / 0.7016 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006308/0.8779, allocations: 85.59 kB / 0.7017 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.2562/1.134, allocations: 4.945 MB / 0.7065 GB, free: 183.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001774/1.136, allocations: 1.281 MB / 0.7078 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004236/1.14, allocations: 1.907 MB / 0.7096 GB, free: 182.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.996e-05/1.14, allocations: 306.6 kB / 0.7099 GB, free: 182 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006326/1.147, allocations: 3.352 MB / 0.7132 GB, free: 181 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01066/1.157, allocations: 8.875 MB / 0.7219 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01487/1.172, allocations: 13.19 MB / 0.7347 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000326/1.173, allocations: 55.28 kB / 0.7348 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02735/1.2, allocations: 13 MB / 0.7475 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001663/1.2, allocations: 92.34 kB / 0.7476 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003679/1.201, allocations: 190.2 kB / 0.7478 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004198/1.205, allocations: 1.335 MB / 0.7491 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006839/1.212, allocations: 2.205 MB / 0.7512 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/1.222, allocations: 7.837 MB / 0.7589 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007262/1.229, allocations: 0.5007 MB / 0.7594 GB, free: 146.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001714/1.231, allocations: 0.5549 MB / 0.7599 GB, free: 146.4 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.007395/1.239, allocations: 3.451 MB / 0.7633 GB, free: 143.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/1.24, allocations: 0.5244 MB / 0.7638 GB, free: 142.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/1.25, allocations: 5.405 MB / 0.7691 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.528e-05/1.25, allocations: 37.8 kB / 0.7691 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-05/1.25, allocations: 8 kB / 0.7691 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.636e-05/1.25, allocations: 15.61 kB / 0.7691 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0269/1.277, allocations: 14.01 MB / 0.7828 GB, free: 125.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.638e-05/1.277, allocations: 15.47 kB / 0.7828 GB, free: 125.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002099/1.279, allocations: 0.4914 MB / 0.7833 GB, free: 125.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003052/1.282, allocations: 0.813 MB / 0.7841 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000367/1.283, allocations: 79.34 kB / 0.7842 GB, free: 124.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007987/1.291, allocations: 5.807 MB / 0.7898 GB, free: 118.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/1.291, allocations: 19.94 kB / 0.7898 GB, free: 118.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0122/1.303, allocations: 8.285 MB / 0.7979 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/1.304, allocations: 0.5644 MB / 0.7985 GB, free: 109.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008836/1.305, allocations: 63.98 kB / 0.7985 GB, free: 109 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/1.307, allocations: 131.8 kB / 0.7987 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004174/1.308, allocations: 225.5 kB / 0.7989 GB, free: 108.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002015/1.308, allocations: 104 kB / 0.799 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005089/1.313, allocations: 3.651 MB / 0.8026 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.533e-06/1.313, allocations: 0 / 0.8026 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00846/1.322, allocations: 1.659 MB / 0.8042 GB, free: 103.3 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.0007564/1.322, allocations: 266.5 kB / 0.8044 GB, free: 103 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0175/1.34, allocations: 11.31 MB / 0.8155 GB, free: 91.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.34, allocations: 0 / 0.8155 GB, free: 91.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003431/1.343, allocations: 2.384 MB / 0.8178 GB, free: 89.38 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004223/1.348, allocations: 0.6951 MB / 0.8185 GB, free: 88.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02679/1.374, allocations: 16.14 MB / 0.8342 GB, free: 72.38 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006863/1.381, allocations: 5.141 MB / 0.8393 GB, free: 67.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001699/1.383, allocations: 451.4 kB / 0.8397 GB, free: 66.76 MB / 0.5294 GB Notification: Performance of SimCode: time 9.82e-07/1.383, allocations: 4.656 kB / 0.8397 GB, free: 66.75 MB / 0.5294 GB Notification: Performance of Templates: time 0.3784/1.762, allocations: 126 MB / 0.9627 GB, free: 116.8 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/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