Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.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.Forces.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001306/0.001306, allocations: 182.9 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0009606/0.0009608, allocations: 90.59 kB / 267.1 MB, free: 9.277 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.3774/0.3774, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.944e-05/2.963e-05, allocations: 0 / 425.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.131, allocations: 58.85 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.436/0.5671, allocations: 112.6 MB / 0.5828 GB, free: 9.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.5674, allocations: 81.62 kB / 0.5829 GB, free: 9.297 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6441/1.211, allocations: 136.5 MB / 0.7161 GB, free: 83.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.124e-06/1.211, allocations: 0 / 0.7161 GB, free: 83.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004635/1.212, allocations: 137.6 kB / 0.7163 GB, free: 83.61 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: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.02425/1.236, allocations: 7.046 MB / 0.7231 GB, free: 81.01 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/1.236, allocations: 9.219 kB / 0.7231 GB, free: 81.01 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03295/1.269, allocations: 7.565 MB / 0.7305 GB, free: 80.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02619/1.296, allocations: 9.81 MB / 0.7401 GB, free: 79.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006597/1.296, allocations: 492.4 kB / 0.7406 GB, free: 79.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004117/1.3, allocations: 0.6516 MB / 0.7412 GB, free: 79.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04358/1.344, allocations: 16.57 MB / 0.7574 GB, free: 75.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006292/1.345, allocations: 101.8 kB / 0.7575 GB, free: 75.56 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003306/1.348, allocations: 314.4 kB / 0.7578 GB, free: 75.56 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002546/1.351, allocations: 1.583 MB / 0.7593 GB, free: 75.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02812/1.379, allocations: 13.48 MB / 0.7725 GB, free: 73.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08736/1.466, allocations: 74.34 MB / 0.8451 GB, free: 35.28 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02169/1.488, allocations: 7.654 MB / 0.8526 GB, free: 31.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005435/1.493, allocations: 3.913 MB / 0.8564 GB, free: 28.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03318/1.527, allocations: 18.62 MB / 0.8746 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.743e-05/1.527, allocations: 64.5 kB / 0.8746 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=281): time 5.951e-06/1.527, allocations: 0 / 0.8746 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=363): time 0.4609/1.988, allocations: 38.8 MB / 0.9125 GB, free: 92.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/1.988, allocations: 274.8 kB / 0.9128 GB, free: 92.25 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01147/1.999, allocations: 5.322 MB / 0.918 GB, free: 91.74 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001094/2, allocations: 83.12 kB / 0.9181 GB, free: 91.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003687/2.004, allocations: 4.778 MB / 0.9227 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002125/2.006, allocations: 1.336 MB / 0.924 GB, free: 88.81 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009084/2.007, allocations: 179.6 kB / 0.9242 GB, free: 88.81 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004337/2.008, allocations: 0.6963 MB / 0.9249 GB, free: 88.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006374/2.014, allocations: 3.638 MB / 0.9284 GB, free: 88.46 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01003/2.024, allocations: 8.837 MB / 0.9371 GB, free: 81.81 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/2.034, allocations: 5.56 MB / 0.9425 GB, free: 81.74 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003437/2.035, allocations: 51.91 kB / 0.9426 GB, free: 81.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1201) (initialization): time 0.03851/2.073, allocations: 15.87 MB / 0.9581 GB, free: 77.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001678/2.073, allocations: 80.69 kB / 0.9581 GB, free: 77.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000273/2.074, allocations: 183.4 kB / 0.9583 GB, free: 77.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01263/2.086, allocations: 4.028 MB / 0.9622 GB, free: 77.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007178/2.094, allocations: 2.041 MB / 0.9642 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02718/2.121, allocations: 20.82 MB / 0.9846 GB, free: 67.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009112/2.13, allocations: 0.5405 MB / 0.9851 GB, free: 67.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002172/2.132, allocations: 0.5237 MB / 0.9856 GB, free: 67.59 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (1081): * Single equations (assignments): 1076 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 45,(4,62.5%) 48} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002668/2.135, allocations: 0.8048 MB / 0.9864 GB, free: 66.94 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001477/2.136, allocations: 0.5785 MB / 0.9869 GB, free: 66.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02006/2.156, allocations: 9.424 MB / 0.9962 GB, free: 63.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.187e-05/2.157, allocations: 37.73 kB / 0.9962 GB, free: 63.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.472e-05/2.157, allocations: 17.78 kB / 0.9962 GB, free: 63.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.7e-05/2.157, allocations: 18 kB / 0.9962 GB, free: 63.61 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04111/2.198, allocations: 18.89 MB / 1.015 GB, free: 55.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.032e-05/2.198, allocations: 11.05 kB / 1.015 GB, free: 55.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002665/2.201, allocations: 0.4947 MB / 1.015 GB, free: 55.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0117/2.212, allocations: 3.627 MB / 1.019 GB, free: 53.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009406/2.213, allocations: 57.41 kB / 1.019 GB, free: 52.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0243/2.238, allocations: 18.73 MB / 1.037 GB, free: 36.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/2.238, allocations: 3.953 kB / 1.037 GB, free: 36.85 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0276/2.265, allocations: 13.9 MB / 1.051 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004188/2.27, allocations: 1.118 MB / 1.052 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002224/2.272, allocations: 60 kB / 1.052 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004566/2.276, allocations: 230.5 kB / 1.052 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001295/2.278, allocations: 225.2 kB / 1.052 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006499/2.278, allocations: 90.66 kB / 1.052 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008236/2.287, allocations: 3.723 MB / 1.056 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.61e-07/2.287, allocations: 0 / 1.056 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0123/2.299, allocations: 1.84 MB / 1.058 GB, free: 18.68 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (263): * Single equations (assignments): 258 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00142/2.3, allocations: 220.5 kB / 1.058 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01625/2.317, allocations: 9.398 MB / 1.067 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/2.317, allocations: 0 / 1.067 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006432/2.323, allocations: 3.683 MB / 1.071 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005497/2.329, allocations: 0.7182 MB / 1.071 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3154/2.644, allocations: 13.1 MB / 1.084 GB, free: 94.42 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01172/2.656, allocations: 5.012 MB / 1.089 GB, free: 93.55 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009404/2.665, allocations: 2.799 MB / 1.092 GB, free: 93.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002056/2.667, allocations: 372.2 kB / 1.092 GB, free: 93.49 MB / 0.5261 GB Notification: Performance of SimCode: time 1.242e-06/2.667, allocations: 0 / 1.092 GB, free: 93.49 MB / 0.5261 GB Notification: Performance of Templates: time 0.1311/2.799, allocations: 74.52 MB / 1.165 GB, free: 85.88 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses2/ForceWithTwoMasses2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches