Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_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.001184/0.001184, allocations: 102.5 kB / 15.98 MB, free: 6.344 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.001776/0.001776, allocations: 189.1 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4268/0.4268, allocations: 43.5 MB / 313.6 MB, free: 8.5 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 70.55 kB / 382.2 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1376, allocations: 57.78 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.2955/0.4331, allocations: 58.26 MB / 498.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02977/0.4629, allocations: 12.18 MB / 0.4985 GB, free: 5.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0163/0.4793, allocations: 250 kB / 0.4987 GB, free: 5.676 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008812/0.4881, allocations: 4.014 MB / 0.5026 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.4992, allocations: 2.58 MB / 0.5052 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003666/0.5029, allocations: 1.194 MB / 0.5063 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01348/0.5164, allocations: 7.57 MB / 0.5137 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01051/0.527, allocations: 6.162 MB / 0.5197 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008062/0.5351, allocations: 2.742 MB / 0.5224 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007434/0.5425, allocations: 4.17 MB / 0.5265 GB, free: 8.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001568/0.5441, allocations: 0.5977 MB / 0.5271 GB, free: 8.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00415/0.5483, allocations: 1.767 MB / 0.5288 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003825/0.5521, allocations: 3.374 MB / 0.5321 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007573/0.5597, allocations: 3.834 MB / 0.5358 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01724/0.577, allocations: 12.05 MB / 0.5476 GB, free: 3.027 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.577, allocations: 0 / 0.5476 GB, free: 3.027 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.577, allocations: 4 kB / 0.5476 GB, free: 3.023 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004683/0.5775, allocations: 0 / 0.5476 GB, free: 3.023 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.02369/0.6012, allocations: 7.896 MB / 0.5553 GB, free: 11.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/0.6013, allocations: 11.89 kB / 0.5553 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01642/0.6177, allocations: 3.938 MB / 0.5592 GB, free: 7.078 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01128/0.629, allocations: 4.409 MB / 0.5635 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000387/0.6295, allocations: 397.9 kB / 0.5639 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002893/0.6324, allocations: 0.558 MB / 0.5644 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03945/0.6718, allocations: 18.88 MB / 0.5828 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002072/0.6721, allocations: 63.38 kB / 0.5829 GB, free: 13.67 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000953/0.673, allocations: 247.8 kB / 0.5831 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005125/0.6782, allocations: 3.432 MB / 0.5865 GB, free: 9.996 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03719/0.7154, allocations: 16.63 MB / 0.6027 GB, free: 9.348 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.3995/1.115, allocations: 66.92 MB / 0.6681 GB, free: 93.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01463/1.13, allocations: 6.271 MB / 0.6742 GB, free: 90.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004996/1.135, allocations: 2.817 MB / 0.6769 GB, free: 89.51 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02829/1.163, allocations: 13.87 MB / 0.6905 GB, free: 82.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.598e-05/1.163, allocations: 74.09 kB / 0.6906 GB, free: 81.99 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 9.507e-06/1.163, allocations: 0 / 0.6906 GB, free: 81.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=345): time 0.08398/1.247, allocations: 25.08 MB / 0.715 GB, free: 73.76 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/1.247, allocations: 195 kB / 0.7152 GB, free: 73.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01056/1.258, allocations: 5.911 MB / 0.721 GB, free: 71.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001054/1.259, allocations: 77.14 kB / 0.7211 GB, free: 71.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004205/1.263, allocations: 4.957 MB / 0.7259 GB, free: 67.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002153/1.265, allocations: 1.284 MB / 0.7272 GB, free: 66.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002749/1.268, allocations: 1.908 MB / 0.729 GB, free: 65.28 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.95e-05/1.268, allocations: 305.1 kB / 0.7293 GB, free: 64.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004822/1.273, allocations: 3.356 MB / 0.7326 GB, free: 63.37 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008145/1.281, allocations: 8.872 MB / 0.7413 GB, free: 52.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01447/1.296, allocations: 13.18 MB / 0.7541 GB, free: 36.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001982/1.296, allocations: 60 kB / 0.7542 GB, free: 36.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02892/1.325, allocations: 13 MB / 0.7669 GB, free: 23.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/1.325, allocations: 88.22 kB / 0.767 GB, free: 23.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002211/1.325, allocations: 196 kB / 0.7672 GB, free: 23.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003973/1.329, allocations: 1.325 MB / 0.7685 GB, free: 21.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007494/1.337, allocations: 2.207 MB / 0.7706 GB, free: 19.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/1.348, allocations: 7.849 MB / 0.7783 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008542/1.356, allocations: 0.5022 MB / 0.7788 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002092/1.358, allocations: 0.5508 MB / 0.7793 GB, free: 10.48 MB / 494.1 MB 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.008334/1.367, allocations: 3.462 MB / 0.7827 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001444/1.368, allocations: 0.5206 MB / 0.7832 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009953/1.378, allocations: 5.412 MB / 0.7885 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-05/1.378, allocations: 36 kB / 0.7885 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.842e-05/1.378, allocations: 8 kB / 0.7885 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.532e-05/1.378, allocations: 15.94 kB / 0.7885 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03621/1.414, allocations: 14.02 MB / 0.8022 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.766e-05/1.414, allocations: 12 kB / 0.8022 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002279/1.417, allocations: 0.4922 MB / 0.8027 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003506/1.42, allocations: 0.8162 MB / 0.8035 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004739/1.421, allocations: 64 kB / 0.8036 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01063/1.431, allocations: 5.814 MB / 0.8093 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-05/1.431, allocations: 23.88 kB / 0.8093 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01609/1.448, allocations: 8.292 MB / 0.8174 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003046/1.451, allocations: 0.9236 MB / 0.8183 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009019/1.452, allocations: 60 kB / 0.8183 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/1.454, allocations: 139.9 kB / 0.8185 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005287/1.454, allocations: 217.4 kB / 0.8187 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002377/1.454, allocations: 111.9 kB / 0.8188 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.3388/1.793, allocations: 3.677 MB / 0.8224 GB, free: 151.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.11e-07/1.793, allocations: 0 / 0.8224 GB, free: 151.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01109/1.804, allocations: 1.645 MB / 0.824 GB, free: 151.3 MB / 0.5137 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.001277/1.806, allocations: 270.3 kB / 0.8242 GB, free: 151.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02135/1.827, allocations: 11.31 MB / 0.8353 GB, free: 150.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.342e-05/1.827, allocations: 3.156 kB / 0.8353 GB, free: 150.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004156/1.831, allocations: 2.377 MB / 0.8376 GB, free: 149.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004675/1.836, allocations: 0.6996 MB / 0.8383 GB, free: 148.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04025/1.876, allocations: 18.9 MB / 0.8567 GB, free: 138.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01202/1.888, allocations: 5.17 MB / 0.8618 GB, free: 137.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.01163/1.9, allocations: 2.968 MB / 0.8647 GB, free: 136.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002708/1.903, allocations: 384 kB / 0.8651 GB, free: 136.9 MB / 0.5137 GB Notification: Performance of SimCode: time 9.82e-07/1.903, allocations: 0 / 0.8651 GB, free: 136.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.1178/2.021, allocations: 61.05 MB / 0.9247 GB, free: 92.21 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches