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.00139/0.00139, allocations: 113.9 kB / 17.09 MB, free: 5.953 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.001372/0.001372, allocations: 198.8 kB / 18.03 MB, free: 5.035 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.419/1.419, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2208/0.2208, allocations: 43.53 MB / 314.8 MB, free: 448 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.00153/0.00153, allocations: 61.47 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1151, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01902/0.1342, allocations: 16.38 MB / 0.5045 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.1474, allocations: 5.307 MB / 0.5097 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003446/0.1509, allocations: 95.75 kB / 0.5098 GB, free: 5.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00887/0.1599, allocations: 4.178 MB / 0.5139 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008095/0.168, allocations: 2.844 MB / 0.5167 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003415/0.1714, allocations: 1.26 MB / 0.5179 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01216/0.1836, allocations: 7.454 MB / 0.5252 GB, free: 6.148 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00941/0.1931, allocations: 5.86 MB / 0.5309 GB, free: 216 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2618/0.4549, allocations: 2.687 MB / 0.5335 GB, free: 8.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006666/0.4616, allocations: 3.797 MB / 0.5372 GB, free: 8.445 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001759/0.4634, allocations: 0.594 MB / 0.5378 GB, free: 8.445 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003784/0.4672, allocations: 1.755 MB / 0.5395 GB, free: 8.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003908/0.4711, allocations: 3.349 MB / 0.5428 GB, free: 8.117 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005798/0.477, allocations: 3.807 MB / 0.5465 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02073/0.4977, allocations: 12.43 MB / 0.5587 GB, free: 4.242 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.4978, allocations: 0 / 0.5587 GB, free: 4.242 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4978, allocations: 3.719 kB / 0.5587 GB, free: 4.242 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006138/0.4984, allocations: 1.469 kB / 0.5587 GB, free: 4.242 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.02273/0.5211, allocations: 8.111 MB / 0.5666 GB, free: 15.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.5212, allocations: 13.27 kB / 0.5666 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01523/0.5364, allocations: 3.985 MB / 0.5705 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01095/0.5474, allocations: 4.488 MB / 0.5749 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003904/0.5478, allocations: 398.5 kB / 0.5752 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0029/0.5508, allocations: 0.5518 MB / 0.5758 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04754/0.5983, allocations: 18.87 MB / 0.5942 GB, free: 9.133 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003635/0.5987, allocations: 70.66 kB / 0.5943 GB, free: 9.094 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002801/0.6015, allocations: 251.4 kB / 0.5945 GB, free: 8.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006011/0.6076, allocations: 3.434 MB / 0.5979 GB, free: 5.523 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03973/0.6473, allocations: 16.63 MB / 0.6141 GB, free: 5.172 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.1104/0.7578, allocations: 66.74 MB / 0.6793 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01723/0.775, allocations: 6.276 MB / 0.6854 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005132/0.7802, allocations: 2.822 MB / 0.6882 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02924/0.8095, allocations: 13.88 MB / 0.7017 GB, free: 9.684 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.75e-05/0.8096, allocations: 67.3 kB / 0.7018 GB, free: 9.613 MB / 0.545 GB Notification: Performance of pre-optimization done (n=284): time 1.074e-05/0.8096, allocations: 0 / 0.7018 GB, free: 9.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=345): time 0.09724/0.9069, allocations: 25.46 MB / 0.7267 GB, free: 248 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.907, allocations: 188.3 kB / 0.7268 GB, free: 20 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01253/0.9196, allocations: 5.93 MB / 0.7326 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007937/0.9204, allocations: 69.7 kB / 0.7327 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004356/0.9248, allocations: 5.166 MB / 0.7377 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001915/0.9267, allocations: 1.339 MB / 0.739 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005293/0.932, allocations: 1.924 MB / 0.7409 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.9321, allocations: 301.1 kB / 0.7412 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00639/0.9386, allocations: 3.357 MB / 0.7445 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01118/0.9498, allocations: 8.87 MB / 0.7532 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2818/1.232, allocations: 13.18 MB / 0.766 GB, free: 189 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002069/1.232, allocations: 54.72 kB / 0.7661 GB, free: 189 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02967/1.262, allocations: 13.03 MB / 0.7788 GB, free: 184.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001347/1.262, allocations: 86.78 kB / 0.7789 GB, free: 184.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002493/1.262, allocations: 194.5 kB / 0.7791 GB, free: 184.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004379/1.266, allocations: 1.322 MB / 0.7804 GB, free: 184.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007674/1.274, allocations: 2.209 MB / 0.7825 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01216/1.286, allocations: 7.851 MB / 0.7902 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00799/1.294, allocations: 0.5005 MB / 0.7907 GB, free: 180.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002042/1.296, allocations: 0.55 MB / 0.7912 GB, free: 180 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.008424/1.305, allocations: 3.463 MB / 0.7946 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001685/1.306, allocations: 0.5518 MB / 0.7951 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01286/1.319, allocations: 5.405 MB / 0.8004 GB, free: 176.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.762e-05/1.319, allocations: 15.16 kB / 0.8004 GB, free: 176.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/1.319, allocations: 0 / 0.8004 GB, free: 176.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003185/1.323, allocations: 0.998 MB / 0.8014 GB, free: 176.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001748/1.324, allocations: 51.08 kB / 0.8014 GB, free: 176.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003119/1.328, allocations: 171.1 kB / 0.8016 GB, free: 176.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006593/1.328, allocations: 197.8 kB / 0.8018 GB, free: 176.1 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01098/1.339, allocations: 5.731 MB / 0.8074 GB, free: 171.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01042/1.35, allocations: 8.014 MB / 0.8152 GB, free: 164.1 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002456/1.352, allocations: 2.15 MB / 0.8173 GB, free: 162.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007399/1.36, allocations: 3.677 MB / 0.8209 GB, free: 159.2 MB / 0.5919 GB Notification: Performance of Backend: time 9.52e-07/1.36, allocations: 0 / 0.8209 GB, free: 159.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01682/1.376, allocations: 6.56 MB / 0.8273 GB, free: 153.4 MB / 0.5919 GB Notification: Performance of SimCode: time 0.03556/1.412, allocations: 15.11 MB / 0.8421 GB, free: 139 MB / 0.5919 GB Notification: Performance of Templates: time 0.1215/1.534, allocations: 72.64 MB / 0.913 GB, free: 66.46 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/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