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.0008875/0.0008876, allocations: 96.78 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001233, allocations: 183.7 kB / 16.92 MB, free: 6.68 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.82/1.82, allocations: 205.4 MB / 223.1 MB, free: 5.449 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.4009/0.4009, allocations: 43.57 MB / 315 MB, free: 8.91 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.0005298/0.0005296, allocations: 15.98 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1425, allocations: 58.85 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3448/0.4873, allocations: 56.77 MB / 0.4885 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03562/0.523, allocations: 12.24 MB / 0.5004 GB, free: 5.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01697/0.54, allocations: 248.8 kB / 0.5007 GB, free: 5.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003285/0.5434, allocations: 0.6779 MB / 0.5013 GB, free: 5.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01015/0.5535, allocations: 2.609 MB / 0.5039 GB, free: 4.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003921/0.5575, allocations: 1.163 MB / 0.505 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02162/0.5791, allocations: 10.52 MB / 0.5153 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01654/0.5957, allocations: 7.839 MB / 0.5229 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005921/0.6017, allocations: 1.997 MB / 0.5249 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00762/0.6093, allocations: 3.538 MB / 0.5283 GB, free: 8.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001682/0.6111, allocations: 264 kB / 0.5286 GB, free: 8.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004492/0.6156, allocations: 1.505 MB / 0.5301 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004424/0.62, allocations: 2.96 MB / 0.533 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007227/0.6272, allocations: 3.386 MB / 0.5363 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.014/0.6413, allocations: 11.48 MB / 0.5475 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.6413, allocations: 0 / 0.5475 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.6413, allocations: 0 / 0.5475 GB, free: 5.168 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003961/0.6417, allocations: 0 / 0.5475 GB, free: 5.168 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.01516/0.6569, allocations: 6.455 MB / 0.5538 GB, free: 14.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.657, allocations: 8.031 kB / 0.5538 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01715/0.6741, allocations: 4.039 MB / 0.5577 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01055/0.6847, allocations: 4.405 MB / 0.562 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004698/0.6852, allocations: 406 kB / 0.5624 GB, free: 5.703 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003038/0.6883, allocations: 0.554 MB / 0.563 GB, free: 5.148 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04664/0.7349, allocations: 18.93 MB / 0.5814 GB, free: 1.172 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003538/0.7353, allocations: 71.36 kB / 0.5815 GB, free: 1.102 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002366/0.7377, allocations: 247.8 kB / 0.5818 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005865/0.7436, allocations: 3.432 MB / 0.5851 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03885/0.7825, allocations: 16.67 MB / 0.6014 GB, free: 12.73 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.3508/1.133, allocations: 66.88 MB / 0.6667 GB, free: 91.94 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01577/1.149, allocations: 6.268 MB / 0.6728 GB, free: 90.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004673/1.154, allocations: 2.827 MB / 0.6756 GB, free: 90.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03191/1.186, allocations: 13.82 MB / 0.6891 GB, free: 82.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.565e-05/1.186, allocations: 63.02 kB / 0.6891 GB, free: 82.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 1.157e-05/1.186, allocations: 0 / 0.6891 GB, free: 82.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=345): time 0.1056/1.292, allocations: 25.3 MB / 0.7138 GB, free: 74.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/1.292, allocations: 195.6 kB / 0.714 GB, free: 74.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01396/1.306, allocations: 5.914 MB / 0.7198 GB, free: 72.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009964/1.307, allocations: 72.67 kB / 0.7199 GB, free: 72.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004341/1.311, allocations: 4.962 MB / 0.7247 GB, free: 68.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00238/1.313, allocations: 1.283 MB / 0.726 GB, free: 67.56 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002877/1.316, allocations: 0.8185 MB / 0.7268 GB, free: 67.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.601e-05/1.316, allocations: 301.1 kB / 0.7271 GB, free: 66.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008766/1.325, allocations: 3.354 MB / 0.7303 GB, free: 65.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01369/1.339, allocations: 8.872 MB / 0.739 GB, free: 56.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0198/1.359, allocations: 13.18 MB / 0.7519 GB, free: 40.76 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004039/1.359, allocations: 56 kB / 0.7519 GB, free: 40.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.03201/1.391, allocations: 13 MB / 0.7646 GB, free: 27.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004833/1.392, allocations: 84 kB / 0.7647 GB, free: 27.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006142/1.392, allocations: 196 kB / 0.7649 GB, free: 27.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004673/1.397, allocations: 1.322 MB / 0.7662 GB, free: 26.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008083/1.405, allocations: 2.209 MB / 0.7683 GB, free: 23.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/1.417, allocations: 7.287 MB / 0.7755 GB, free: 16.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009937/1.427, allocations: 0.5039 MB / 0.7759 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002533/1.43, allocations: 0.5538 MB / 0.7765 GB, free: 15.38 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.00921/1.439, allocations: 3.46 MB / 0.7799 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001991/1.441, allocations: 0.5282 MB / 0.7804 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01742/1.458, allocations: 5.408 MB / 0.7857 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-05/1.459, allocations: 39.94 kB / 0.7857 GB, free: 5.863 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.806e-05/1.459, allocations: 9.906 kB / 0.7857 GB, free: 5.859 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.726e-05/1.459, allocations: 19.94 kB / 0.7857 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03573/1.494, allocations: 14.02 MB / 0.7994 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.003e-05/1.495, allocations: 12 kB / 0.7994 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002416/1.497, allocations: 499.2 kB / 0.7999 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003537/1.501, allocations: 0.8169 MB / 0.8007 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000407/1.501, allocations: 75.88 kB / 0.8008 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01001/1.511, allocations: 5.333 MB / 0.806 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-05/1.511, allocations: 24 kB / 0.806 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01758/1.529, allocations: 8.284 MB / 0.8141 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003274/1.532, allocations: 0.9352 MB / 0.815 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001246/1.533, allocations: 68.05 kB / 0.8151 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002317/1.536, allocations: 136.7 kB / 0.8152 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005467/1.536, allocations: 224.6 kB / 0.8154 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002308/1.536, allocations: 104 kB / 0.8155 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.007137/1.543, allocations: 3.678 MB / 0.8191 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.61e-07/1.543, allocations: 3.938 kB / 0.8191 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01058/1.554, allocations: 1.65 MB / 0.8207 GB, free: 1.383 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.0009618/1.555, allocations: 260.2 kB / 0.821 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.2749/1.83, allocations: 7.884 MB / 0.8287 GB, free: 153.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/1.83, allocations: 2.938 kB / 0.8287 GB, free: 153.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004285/1.834, allocations: 2.377 MB / 0.831 GB, free: 153.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01295/1.847, allocations: 0.673 MB / 0.8316 GB, free: 153.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03175/1.879, allocations: 18.96 MB / 0.8502 GB, free: 143.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01104/1.89, allocations: 5.171 MB / 0.8552 GB, free: 142.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.01163/1.902, allocations: 2.963 MB / 0.8581 GB, free: 141.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002973/1.905, allocations: 385.7 kB / 0.8585 GB, free: 141.9 MB / 0.5137 GB Notification: Performance of SimCode: time 2.515e-06/1.905, allocations: 1.25 kB / 0.8585 GB, free: 141.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.134/2.039, allocations: 58.01 MB / 0.9151 GB, free: 105.9 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