Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001291/0.001291, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 94.61 kB / 261.8 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.246/0.246, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.879e-05/1.881e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1347, allocations: 58.85 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4816/0.6163, allocations: 114.7 MB / 0.5779 GB, free: 13.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.6166, allocations: 83.61 kB / 0.578 GB, free: 13.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6637/1.28, allocations: 140.2 MB / 0.7149 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.16e-06/1.28, allocations: 1.031 kB / 0.7149 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0009215/1.281, allocations: 131.6 kB / 0.715 GB, free: 101.8 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.03142/1.313, allocations: 6.649 MB / 0.7215 GB, free: 99.39 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/1.313, allocations: 9.438 kB / 0.7215 GB, free: 99.39 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03778/1.351, allocations: 9.335 MB / 0.7306 GB, free: 98.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02538/1.376, allocations: 9.122 MB / 0.7395 GB, free: 98.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004643/1.377, allocations: 206.7 kB / 0.7397 GB, free: 98.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00393/1.381, allocations: 386.5 kB / 0.7401 GB, free: 98.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02086/1.401, allocations: 9.346 MB / 0.7492 GB, free: 98.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03455/1.436, allocations: 13.28 MB / 0.7622 GB, free: 94.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007628/1.437, allocations: 80.16 kB / 0.7623 GB, free: 94.83 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003632/1.441, allocations: 39.25 kB / 0.7623 GB, free: 94.83 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00227/1.443, allocations: 1.389 MB / 0.7637 GB, free: 94.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07341/1.516, allocations: 62.33 MB / 0.8245 GB, free: 52.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004683/1.521, allocations: 4.343 MB / 0.8288 GB, free: 50.69 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002877/1.524, allocations: 3.013 MB / 0.8317 GB, free: 49.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001831/1.526, allocations: 2.386 MB / 0.8341 GB, free: 47.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/1.526, allocations: 62.88 kB / 0.8341 GB, free: 47.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=251): time 4.91e-06/1.526, allocations: 0 / 0.8341 GB, free: 47.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=343): time 0.06539/1.591, allocations: 27.58 MB / 0.8611 GB, free: 25.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.998e-05/1.591, allocations: 247.6 kB / 0.8613 GB, free: 24.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007071/1.598, allocations: 4.392 MB / 0.8656 GB, free: 20.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009328/1.599, allocations: 25.7 kB / 0.8656 GB, free: 20.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002598/1.602, allocations: 4.52 MB / 0.87 GB, free: 16.76 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001676/1.604, allocations: 1.219 MB / 0.8712 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004941/1.604, allocations: 4 kB / 0.8712 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003738/1.605, allocations: 0.657 MB / 0.8718 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003895/1.608, allocations: 3.437 MB / 0.8752 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005999/1.614, allocations: 8.084 MB / 0.8831 GB, free: 2.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009679/1.624, allocations: 5.348 MB / 0.8883 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001573/1.624, allocations: 48 kB / 0.8884 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1105) (initialization): time 0.03374/1.658, allocations: 13.69 MB / 0.9017 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001868/1.658, allocations: 72 kB / 0.9018 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002694/1.659, allocations: 168 kB / 0.902 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3653/2.024, allocations: 3.498 MB / 0.9054 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007958/2.032, allocations: 1.857 MB / 0.9072 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02712/2.059, allocations: 16.83 MB / 0.9236 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008565/2.068, allocations: 334.8 kB / 0.9239 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002457/2.07, allocations: 489.9 kB / 0.9244 GB, free: 100.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 751 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1004): * Single equations (assignments): 1000 * Array equations: 3 * 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 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002533/2.073, allocations: 0.5119 MB / 0.9249 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001421/2.074, allocations: 0.5008 MB / 0.9254 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01744/2.092, allocations: 8.533 MB / 0.9337 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.83e-05/2.092, allocations: 36.38 kB / 0.9338 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.904e-05/2.092, allocations: 20.72 kB / 0.9338 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-05/2.092, allocations: 17.95 kB / 0.9338 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03551/2.127, allocations: 17.29 MB / 0.9507 GB, free: 98.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.064e-05/2.128, allocations: 10.81 kB / 0.9507 GB, free: 98.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002438/2.13, allocations: 498.2 kB / 0.9512 GB, free: 98.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009957/2.14, allocations: 3.05 MB / 0.9542 GB, free: 98.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007545/2.141, allocations: 17.27 kB / 0.9542 GB, free: 98.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01982/2.161, allocations: 14.5 MB / 0.9683 GB, free: 91.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.331e-05/2.161, allocations: 10.66 kB / 0.9683 GB, free: 91.85 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02396/2.185, allocations: 13.82 MB / 0.9818 GB, free: 85.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003206/2.188, allocations: 1.062 MB / 0.9829 GB, free: 85.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00139/2.189, allocations: 9.422 kB / 0.9829 GB, free: 85.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003224/2.193, allocations: 156.6 kB / 0.983 GB, free: 85.28 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005918/2.193, allocations: 223.1 kB / 0.9832 GB, free: 85.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002515/2.193, allocations: 90.03 kB / 0.9833 GB, free: 85.22 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005172/2.199, allocations: 2.995 MB / 0.9862 GB, free: 84.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.11e-07/2.199, allocations: 3.75 kB / 0.9863 GB, free: 84.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008954/2.208, allocations: 1.46 MB / 0.9877 GB, free: 84.14 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 255 * Array equations: 3 * 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 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009651/2.209, allocations: 198.8 kB / 0.9879 GB, free: 84.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01206/2.221, allocations: 8.454 MB / 0.9961 GB, free: 81.03 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/2.221, allocations: 2.344 kB / 0.9961 GB, free: 81.03 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005402/2.226, allocations: 3.361 MB / 0.9994 GB, free: 79.51 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005218/2.231, allocations: 0.5782 MB / 1 GB, free: 79.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02527/2.257, allocations: 12.78 MB / 1.012 GB, free: 70.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006166/2.263, allocations: 4.964 MB / 1.017 GB, free: 66.51 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00659/2.27, allocations: 2.68 MB / 1.02 GB, free: 64.97 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/2.271, allocations: 338.2 kB / 1.02 GB, free: 64.65 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/2.271, allocations: 0 / 1.02 GB, free: 64.65 MB / 0.5105 GB Notification: Performance of Templates: time 0.1013/2.372, allocations: 63.23 MB / 1.082 GB, free: 9.117 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches