Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00155/0.00155, allocations: 187.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.4 MB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 82.88 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3456/0.3456, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000639/0.0006392, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.125, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.4246/0.5497, allocations: 49.86 MB / 0.5274 GB, free: 9.805 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03506/0.5848, allocations: 12.15 MB / 0.5393 GB, free: 8.898 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01326/0.5981, allocations: 252.2 kB / 0.5395 GB, free: 8.855 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01019/0.6084, allocations: 2.481 MB / 0.5419 GB, free: 8.391 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03138/0.6398, allocations: 7.185 MB / 0.549 GB, free: 6.566 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006112/0.646, allocations: 1.054 MB / 0.55 GB, free: 6.258 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.04174/0.6877, allocations: 16.69 MB / 0.5663 GB, free: 14.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01567/0.7035, allocations: 6.993 MB / 0.5731 GB, free: 7.445 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005365/0.7089, allocations: 1.787 MB / 0.5749 GB, free: 5.652 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006083/0.715, allocations: 2.512 MB / 0.5773 GB, free: 3.133 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001971/0.7171, allocations: 264 kB / 0.5776 GB, free: 2.875 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005083/0.7222, allocations: 1.248 MB / 0.5788 GB, free: 1.625 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005365/0.7276, allocations: 2.7 MB / 0.5814 GB, free: 14.92 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003362/0.731, allocations: 1.388 MB / 0.5828 GB, free: 13.52 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01675/0.7478, allocations: 9.629 MB / 0.5922 GB, free: 3.867 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.7479, allocations: 8 kB / 0.5922 GB, free: 3.859 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.7479, allocations: 0 / 0.5922 GB, free: 3.859 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004163/0.7483, allocations: 0 / 0.5922 GB, free: 3.859 MB / 394.7 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.02409/0.7724, allocations: 6.709 MB / 0.5987 GB, free: 13.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.7725, allocations: 19.95 kB / 0.5988 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06512/0.8377, allocations: 7.159 MB / 0.6057 GB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01643/0.8541, allocations: 4.911 MB / 0.6105 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006544/0.8549, allocations: 397.9 kB / 0.6109 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003385/0.8583, allocations: 0.5504 MB / 0.6115 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06301/0.9213, allocations: 19.05 MB / 0.6301 GB, free: 11.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003838/0.9218, allocations: 71.36 kB / 0.6301 GB, free: 11.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002468/0.9242, allocations: 251.7 kB / 0.6304 GB, free: 11.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009825/0.9341, allocations: 3.42 MB / 0.6337 GB, free: 8.109 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06173/0.9959, allocations: 16.76 MB / 0.6501 GB, free: 7.344 MB / 458.7 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.1434/1.139, allocations: 67 MB / 0.7155 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6768/1.816, allocations: 6.294 MB / 0.7217 GB, free: 178.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04658/1.863, allocations: 13.99 MB / 0.7353 GB, free: 171.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/1.863, allocations: 63.28 kB / 0.7354 GB, free: 171.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=284): time 1.659e-05/1.863, allocations: 1.281 kB / 0.7354 GB, free: 171.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=345): time 0.2472/2.11, allocations: 26.03 MB / 0.7608 GB, free: 161.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/2.11, allocations: 188.3 kB / 0.761 GB, free: 161.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02056/2.131, allocations: 6.252 MB / 0.7671 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009834/2.132, allocations: 73.7 kB / 0.7672 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00562/2.138, allocations: 4.84 MB / 0.7719 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002802/2.141, allocations: 1.287 MB / 0.7731 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001596/2.142, allocations: 191.1 kB / 0.7733 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001085/2.143, allocations: 0.7078 MB / 0.774 GB, free: 148 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01306/2.157, allocations: 3.255 MB / 0.7772 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01264/2.169, allocations: 8.691 MB / 0.7857 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01221/2.182, allocations: 5.234 MB / 0.7908 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001674/2.182, allocations: 55.95 kB / 0.7908 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.03783/2.22, allocations: 12.55 MB / 0.8031 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001428/2.22, allocations: 88 kB / 0.8032 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002568/2.22, allocations: 200.7 kB / 0.8034 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007667/2.228, allocations: 1.347 MB / 0.8047 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01301/2.241, allocations: 2.164 MB / 0.8068 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01888/2.26, allocations: 7.518 MB / 0.8142 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00983/2.27, allocations: 0.5039 MB / 0.8146 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001889/2.272, allocations: 0.5451 MB / 0.8152 GB, free: 103 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * 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 (1152): * Single equations (assignments): 1145 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008918/2.281, allocations: 3.454 MB / 0.8186 GB, free: 99.56 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001307/2.282, allocations: 0.5303 MB / 0.8191 GB, free: 99.03 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01968/2.302, allocations: 5.395 MB / 0.8243 GB, free: 93.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.715e-05/2.302, allocations: 36 kB / 0.8244 GB, free: 93.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.977e-05/2.302, allocations: 8 kB / 0.8244 GB, free: 93.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.669e-05/2.302, allocations: 19.94 kB / 0.8244 GB, free: 93.51 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04503/2.347, allocations: 14.03 MB / 0.8381 GB, free: 79.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.599e-05/2.347, allocations: 12 kB / 0.8381 GB, free: 79.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004467/2.351, allocations: 0.4914 MB / 0.8386 GB, free: 78.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006279/2.358, allocations: 0.8088 MB / 0.8394 GB, free: 77.95 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006519/2.358, allocations: 69 kB / 0.8394 GB, free: 77.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01505/2.374, allocations: 5.571 MB / 0.8449 GB, free: 72.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.566e-05/2.374, allocations: 15.94 kB / 0.8449 GB, free: 72.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02373/2.397, allocations: 10.03 MB / 0.8547 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003395/2.401, allocations: 0.9469 MB / 0.8556 GB, free: 60.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001464/2.402, allocations: 67.94 kB / 0.8557 GB, free: 60.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004359/2.407, allocations: 129.8 kB / 0.8558 GB, free: 60.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009803/2.408, allocations: 225.5 kB / 0.856 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003226/2.408, allocations: 107.3 kB / 0.8561 GB, free: 60.05 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008806/2.417, allocations: 3.942 MB / 0.86 GB, free: 56.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.01e-07/2.417, allocations: 0 / 0.86 GB, free: 56.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01076/2.428, allocations: 1.651 MB / 0.8616 GB, free: 54.5 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001325/2.429, allocations: 268.1 kB / 0.8618 GB, free: 54.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01948/2.449, allocations: 7.733 MB / 0.8694 GB, free: 46.52 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/2.449, allocations: 0.8438 kB / 0.8694 GB, free: 46.52 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006502/2.455, allocations: 2.368 MB / 0.8717 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005395/2.461, allocations: 0.6462 MB / 0.8723 GB, free: 43.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04128/2.502, allocations: 18.91 MB / 0.8908 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01091/2.513, allocations: 5.327 MB / 0.896 GB, free: 19.01 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002669/2.516, allocations: 459.4 kB / 0.8964 GB, free: 18.56 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/2.516, allocations: 0 / 0.8964 GB, free: 18.56 MB / 0.5105 GB Notification: Performance of Templates: time 0.5802/3.096, allocations: 122 MB / 1.016 GB, free: 73.22 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches