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.001814/0.001814, allocations: 106.8 kB / 16.41 MB, free: 6.461 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.002156/0.002156, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.662/1.662, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2533/0.2533, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 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.001262/0.001262, allocations: 61.94 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1435, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01846/0.162, allocations: 16.38 MB / 0.5039 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01418/0.1762, allocations: 5.311 MB / 0.5091 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00404/0.1803, allocations: 95.75 kB / 0.5091 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00862/0.189, allocations: 4.174 MB / 0.5132 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01021/0.1992, allocations: 2.844 MB / 0.516 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003959/0.2032, allocations: 1.267 MB / 0.5172 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01264/0.2159, allocations: 7.446 MB / 0.5245 GB, free: 6.137 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01149/0.2274, allocations: 5.864 MB / 0.5302 GB, free: 200 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3956/0.6231, allocations: 2.689 MB / 0.5329 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01063/0.6338, allocations: 3.792 MB / 0.5366 GB, free: 9.859 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004429/0.6383, allocations: 0.599 MB / 0.5372 GB, free: 9.859 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008098/0.6464, allocations: 1.76 MB / 0.5389 GB, free: 9.859 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01043/0.6569, allocations: 3.345 MB / 0.5421 GB, free: 9.531 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0136/0.6705, allocations: 3.805 MB / 0.5459 GB, free: 8.219 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0319/0.7024, allocations: 12.39 MB / 0.558 GB, free: 5.445 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.121e-05/0.7025, allocations: 0 / 0.558 GB, free: 5.445 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.7025, allocations: 0.5 kB / 0.558 GB, free: 5.445 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.00083/0.7034, allocations: 0 / 0.558 GB, free: 5.445 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.03861/0.742, allocations: 7.901 MB / 0.5657 GB, free: 440 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.7421, allocations: 13.23 kB / 0.5657 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01748/0.7595, allocations: 3.943 MB / 0.5695 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01702/0.7766, allocations: 4.469 MB / 0.5739 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008226/0.7775, allocations: 401.5 kB / 0.5743 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005482/0.783, allocations: 0.5453 MB / 0.5748 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0586/0.8416, allocations: 18.89 MB / 0.5933 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003791/0.842, allocations: 65.81 kB / 0.5933 GB, free: 9.984 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002097/0.8442, allocations: 245.7 kB / 0.5936 GB, free: 9.805 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005721/0.8499, allocations: 3.435 MB / 0.5969 GB, free: 6.414 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04187/0.8918, allocations: 16.63 MB / 0.6131 GB, free: 6.055 MB / 462.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.1296/1.021, allocations: 66.6 MB / 0.6782 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01807/1.04, allocations: 6.278 MB / 0.6843 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005921/1.045, allocations: 2.823 MB / 0.6871 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03339/1.079, allocations: 13.85 MB / 0.7006 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/1.079, allocations: 67.12 kB / 0.7007 GB, free: 10.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=284): time 1.32e-05/1.079, allocations: 3.984 kB / 0.7007 GB, free: 10.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=345): time 0.09807/1.177, allocations: 25.1 MB / 0.7252 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/1.177, allocations: 191.3 kB / 0.7254 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02056/1.198, allocations: 5.912 MB / 0.7311 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001094/1.199, allocations: 77.45 kB / 0.7312 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.006333/1.205, allocations: 4.959 MB / 0.736 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002524/1.208, allocations: 1.282 MB / 0.7373 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007821/1.216, allocations: 1.908 MB / 0.7392 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.216, allocations: 301.1 kB / 0.7394 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007612/1.224, allocations: 3.358 MB / 0.7427 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01519/1.239, allocations: 8.876 MB / 0.7514 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3925/1.631, allocations: 13.18 MB / 0.7643 GB, free: 188.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003904/1.632, allocations: 55.06 kB / 0.7643 GB, free: 188.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.03928/1.671, allocations: 12.99 MB / 0.777 GB, free: 184.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001816/1.671, allocations: 86.98 kB / 0.7771 GB, free: 184.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003905/1.672, allocations: 193 kB / 0.7773 GB, free: 184.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004887/1.677, allocations: 1.328 MB / 0.7786 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008762/1.685, allocations: 2.207 MB / 0.7807 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01254/1.698, allocations: 7.847 MB / 0.7884 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009379/1.707, allocations: 0.5 MB / 0.7889 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002446/1.71, allocations: 0.5536 MB / 0.7894 GB, free: 180.1 MB / 0.5919 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.0097/1.72, allocations: 3.452 MB / 0.7928 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001501/1.721, allocations: 0.5245 MB / 0.7933 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/1.733, allocations: 5.402 MB / 0.7986 GB, free: 176.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.493e-05/1.733, allocations: 37.58 kB / 0.7986 GB, free: 176.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/1.733, allocations: 7.375 kB / 0.7986 GB, free: 176.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.562e-05/1.733, allocations: 19.3 kB / 0.7986 GB, free: 176.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.031/1.764, allocations: 13.92 MB / 0.8122 GB, free: 166.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.813e-05/1.764, allocations: 13.97 kB / 0.8122 GB, free: 166.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00223/1.766, allocations: 0.4915 MB / 0.8127 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003168/1.77, allocations: 0.8095 MB / 0.8135 GB, free: 165.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003625/1.77, allocations: 71.75 kB / 0.8136 GB, free: 165.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007939/1.778, allocations: 5.809 MB / 0.8193 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/1.778, allocations: 19.94 kB / 0.8193 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01349/1.792, allocations: 8.299 MB / 0.8274 GB, free: 153.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002913/1.794, allocations: 0.9216 MB / 0.8283 GB, free: 152.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001202/1.796, allocations: 65.55 kB / 0.8283 GB, free: 152.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00243/1.798, allocations: 136.8 kB / 0.8285 GB, free: 152 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005269/1.799, allocations: 219.4 kB / 0.8287 GB, free: 151.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002291/1.799, allocations: 106.5 kB / 0.8288 GB, free: 151.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006612/1.806, allocations: 3.674 MB / 0.8324 GB, free: 148 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.7e-07/1.806, allocations: 0 / 0.8324 GB, free: 148 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0106/1.816, allocations: 1.652 MB / 0.834 GB, free: 146.4 MB / 0.5919 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.0009699/1.817, allocations: 263.7 kB / 0.8342 GB, free: 146.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01266/1.83, allocations: 7.936 MB / 0.842 GB, free: 138.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/1.83, allocations: 0 / 0.842 GB, free: 138.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003513/1.833, allocations: 2.378 MB / 0.8443 GB, free: 135.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004608/1.838, allocations: 0.7095 MB / 0.845 GB, free: 135.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03126/1.869, allocations: 15.24 MB / 0.8599 GB, free: 119.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007224/1.877, allocations: 5.169 MB / 0.8649 GB, free: 114.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006591/1.883, allocations: 2.97 MB / 0.8678 GB, free: 111.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/1.884, allocations: 387.4 kB / 0.8682 GB, free: 111.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.443e-06/1.884, allocations: 0 / 0.8682 GB, free: 111.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.1008/1.985, allocations: 56.27 MB / 0.9232 GB, free: 54.97 MB / 0.5919 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches