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.001349/0.001349, allocations: 109.5 kB / 16.41 MB, free: 6.426 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.001329/0.001329, allocations: 185.5 kB / 17.34 MB, free: 5.73 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.639/1.639, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2437/0.2437, allocations: 43.52 MB / 314.1 MB, free: 468 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.00138/0.00138, allocations: 67.89 kB / 441.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1689, allocations: 57.78 MB / 499.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.0195/0.1885, allocations: 16.39 MB / 0.5039 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01337/0.2019, allocations: 5.311 MB / 0.5091 GB, free: 6.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004443/0.2064, allocations: 95.75 kB / 0.5091 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008738/0.2153, allocations: 4.17 MB / 0.5132 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.2254, allocations: 2.844 MB / 0.516 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004094/0.2296, allocations: 1.263 MB / 0.5172 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01316/0.2427, allocations: 7.462 MB / 0.5245 GB, free: 6.168 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0111/0.2539, allocations: 5.852 MB / 0.5302 GB, free: 244 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3488/0.6027, allocations: 2.692 MB / 0.5329 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007616/0.6104, allocations: 3.796 MB / 0.5366 GB, free: 9.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00286/0.6133, allocations: 0.5944 MB / 0.5371 GB, free: 9.824 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006504/0.6198, allocations: 1.761 MB / 0.5389 GB, free: 9.824 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00751/0.6274, allocations: 3.343 MB / 0.5421 GB, free: 9.496 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01451/0.6419, allocations: 3.804 MB / 0.5458 GB, free: 8.188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02928/0.6712, allocations: 12.39 MB / 0.5579 GB, free: 5.418 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.478e-05/0.6713, allocations: 0 / 0.5579 GB, free: 5.418 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.038e-06/0.6714, allocations: 1.5 kB / 0.5579 GB, free: 5.418 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.00109/0.6725, allocations: 0 / 0.5579 GB, free: 5.418 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.03507/0.7075, allocations: 7.899 MB / 0.5657 GB, free: 412 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.99e-05/0.7076, allocations: 13.83 kB / 0.5657 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01944/0.7271, allocations: 3.942 MB / 0.5695 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01285/0.74, allocations: 4.467 MB / 0.5739 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003363/0.7403, allocations: 401.1 kB / 0.5743 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003559/0.7439, allocations: 0.55 MB / 0.5748 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04691/0.7908, allocations: 18.88 MB / 0.5932 GB, free: 10.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002776/0.7912, allocations: 65.72 kB / 0.5933 GB, free: 9.996 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001256/0.7924, allocations: 248.8 kB / 0.5935 GB, free: 9.816 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0056/0.798, allocations: 3.435 MB / 0.5969 GB, free: 6.422 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04201/0.8401, allocations: 16.63 MB / 0.6131 GB, free: 6.062 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.1122/0.9523, allocations: 66.61 MB / 0.6782 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01935/0.9717, allocations: 6.276 MB / 0.6843 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005193/0.977, allocations: 2.831 MB / 0.6871 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0262/1.003, allocations: 13.85 MB / 0.7006 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.91e-05/1.003, allocations: 63.64 kB / 0.7007 GB, free: 10.58 MB / 0.545 GB Notification: Performance of pre-optimization done (n=284): time 8.616e-06/1.003, allocations: 0 / 0.7007 GB, free: 10.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=345): time 0.1014/1.105, allocations: 25.09 MB / 0.7252 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/1.105, allocations: 191.1 kB / 0.7253 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01622/1.121, allocations: 5.916 MB / 0.7311 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009711/1.122, allocations: 69.7 kB / 0.7312 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005316/1.128, allocations: 4.963 MB / 0.736 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002705/1.13, allocations: 1.283 MB / 0.7373 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008202/1.139, allocations: 1.903 MB / 0.7392 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.139, allocations: 309.1 kB / 0.7394 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006032/1.145, allocations: 3.357 MB / 0.7427 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0114/1.156, allocations: 8.877 MB / 0.7514 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.39/1.546, allocations: 13.18 MB / 0.7643 GB, free: 189 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002515/1.547, allocations: 57.06 kB / 0.7643 GB, free: 189 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.03274/1.579, allocations: 12.99 MB / 0.777 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001652/1.58, allocations: 87.88 kB / 0.7771 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003357/1.58, allocations: 195.9 kB / 0.7773 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004702/1.585, allocations: 1.322 MB / 0.7786 GB, free: 185 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008009/1.593, allocations: 2.207 MB / 0.7807 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/1.605, allocations: 7.841 MB / 0.7884 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008844/1.613, allocations: 0.5066 MB / 0.7889 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002324/1.616, allocations: 0.5567 MB / 0.7894 GB, free: 180.4 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.009108/1.625, allocations: 3.451 MB / 0.7928 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001749/1.627, allocations: 0.5263 MB / 0.7933 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/1.639, allocations: 5.398 MB / 0.7986 GB, free: 176.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.977e-05/1.639, allocations: 39.55 kB / 0.7986 GB, free: 176.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.97e-05/1.639, allocations: 6.719 kB / 0.7986 GB, free: 176.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.63e-05/1.639, allocations: 16.88 kB / 0.7986 GB, free: 176.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02481/1.664, allocations: 13.92 MB / 0.8122 GB, free: 166.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-05/1.664, allocations: 15.94 kB / 0.8122 GB, free: 166.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/1.666, allocations: 499.3 kB / 0.8127 GB, free: 166.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003066/1.669, allocations: 0.808 MB / 0.8135 GB, free: 165.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002387/1.669, allocations: 69 kB / 0.8136 GB, free: 165.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007979/1.677, allocations: 5.815 MB / 0.8193 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/1.677, allocations: 20.92 kB / 0.8193 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01229/1.689, allocations: 8.306 MB / 0.8274 GB, free: 153.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002749/1.692, allocations: 0.9204 MB / 0.8283 GB, free: 152.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007343/1.693, allocations: 63.98 kB / 0.8283 GB, free: 152.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001978/1.695, allocations: 137.3 kB / 0.8285 GB, free: 152 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00049/1.695, allocations: 209.5 kB / 0.8287 GB, free: 151.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002025/1.695, allocations: 105.5 kB / 0.8288 GB, free: 151.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006138/1.702, allocations: 3.682 MB / 0.8324 GB, free: 148 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/1.702, allocations: 0 / 0.8324 GB, free: 148 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009971/1.712, allocations: 1.647 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.0007952/1.712, allocations: 261.9 kB / 0.8342 GB, free: 146.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01147/1.724, allocations: 7.94 MB / 0.842 GB, free: 138.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/1.724, allocations: 1.203 kB / 0.842 GB, free: 138.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003183/1.727, allocations: 2.381 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.004398/1.732, allocations: 0.6976 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.02835/1.76, allocations: 15.25 MB / 0.8599 GB, free: 119.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007171/1.767, allocations: 5.167 MB / 0.8649 GB, free: 114.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006472/1.774, allocations: 2.978 MB / 0.8678 GB, free: 111.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001212/1.775, allocations: 383.4 kB / 0.8682 GB, free: 111.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.223e-06/1.775, allocations: 0 / 0.8682 GB, free: 111.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.1006/1.875, allocations: 56.27 MB / 0.9232 GB, free: 55 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