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.001383/0.001382, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.428/1.428, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0007402/0.0007403, allocations: 86.88 kB / 270.2 MB, free: 13.36 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.2053/0.2053, allocations: 43.57 MB / 362.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003345, allocations: 12 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1301, allocations: 58.86 MB / 490.2 MB, free: 8.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4484/0.5786, allocations: 112.7 MB / 0.5888 GB, free: 3.434 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.5789, allocations: 79.47 kB / 0.5889 GB, free: 3.395 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6867/1.266, allocations: 136.4 MB / 0.7221 GB, free: 99.94 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.627e-06/1.266, allocations: 6.031 kB / 0.7221 GB, free: 99.94 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008784/1.267, allocations: 134.3 kB / 0.7222 GB, free: 99.93 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.03249/1.299, allocations: 7.663 MB / 0.7297 GB, free: 97.13 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/1.299, allocations: 9.031 kB / 0.7297 GB, free: 97.13 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03182/1.331, allocations: 7.551 MB / 0.7371 GB, free: 96.67 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02956/1.361, allocations: 9.855 MB / 0.7467 GB, free: 95.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006425/1.361, allocations: 492.7 kB / 0.7472 GB, free: 95.76 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004308/1.366, allocations: 0.6508 MB / 0.7478 GB, free: 95.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04191/1.408, allocations: 16.72 MB / 0.7641 GB, free: 91.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000557/1.408, allocations: 102.2 kB / 0.7642 GB, free: 91.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003247/1.411, allocations: 316.9 kB / 0.7645 GB, free: 91.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002339/1.414, allocations: 1.579 MB / 0.7661 GB, free: 91.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03022/1.444, allocations: 13.74 MB / 0.7795 GB, free: 90.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09446/1.539, allocations: 74.36 MB / 0.8521 GB, free: 31.17 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02168/1.56, allocations: 7.697 MB / 0.8596 GB, free: 24.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03015/1.591, allocations: 18.61 MB / 0.8778 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.802e-05/1.591, allocations: 80.38 kB / 0.8779 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=281): time 7.053e-06/1.591, allocations: 0 / 0.8779 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of matching and sorting (n=363): time 0.5023/2.093, allocations: 48.38 MB / 0.9251 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.898e-05/2.093, allocations: 271.9 kB / 0.9254 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008704/2.102, allocations: 5.405 MB / 0.9306 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001004/2.103, allocations: 80.41 kB / 0.9307 GB, free: 105 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003119/2.106, allocations: 4.78 MB / 0.9354 GB, free: 103 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0018/2.108, allocations: 1.34 MB / 0.9367 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000452/2.108, allocations: 185.7 kB / 0.9369 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004235/2.109, allocations: 0.699 MB / 0.9376 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005181/2.114, allocations: 3.747 MB / 0.9412 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007268/2.121, allocations: 8.946 MB / 0.95 GB, free: 95.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007601/2.129, allocations: 5.611 MB / 0.9554 GB, free: 94.83 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001225/2.129, allocations: 53.47 kB / 0.9555 GB, free: 94.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1201) (initialization): time 0.03283/2.162, allocations: 16.11 MB / 0.9712 GB, free: 90 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003562/2.162, allocations: 85.94 kB / 0.9713 GB, free: 90 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004808/2.163, allocations: 187.6 kB / 0.9715 GB, free: 90 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0141/2.177, allocations: 4.078 MB / 0.9755 GB, free: 89.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007858/2.185, allocations: 2.031 MB / 0.9774 GB, free: 89.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03384/2.219, allocations: 21.74 MB / 0.9987 GB, free: 79.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009839/2.229, allocations: 0.5435 MB / 0.9992 GB, free: 79.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002455/2.231, allocations: 0.5269 MB / 0.9997 GB, free: 79.28 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 () * Number of clocked 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.01043/2.241, allocations: 3.121 MB / 1.003 GB, free: 77.85 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002316/2.244, allocations: 0.5782 MB / 1.003 GB, free: 77.53 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02439/2.268, allocations: 9.542 MB / 1.013 GB, free: 71.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001043/2.268, allocations: 43.34 kB / 1.013 GB, free: 71.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001107/2.269, allocations: 20 kB / 1.013 GB, free: 71.49 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000149/2.269, allocations: 17.73 kB / 1.013 GB, free: 71.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06218/2.331, allocations: 18.99 MB / 1.031 GB, free: 56.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.559e-05/2.331, allocations: 3.938 kB / 1.031 GB, free: 56.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005125/2.336, allocations: 0.4994 MB / 1.032 GB, free: 56.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02187/2.358, allocations: 3.67 MB / 1.035 GB, free: 53.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001295/2.359, allocations: 63.52 kB / 1.035 GB, free: 53.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03289/2.392, allocations: 19.66 MB / 1.055 GB, free: 36.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/2.392, allocations: 3.984 kB / 1.055 GB, free: 36.47 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02479/2.417, allocations: 14.05 MB / 1.068 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004542/2.422, allocations: 1.122 MB / 1.069 GB, free: 21.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001719/2.424, allocations: 58.19 kB / 1.069 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004469/2.428, allocations: 227.7 kB / 1.07 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001073/2.429, allocations: 231.3 kB / 1.07 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002885/2.429, allocations: 91.98 kB / 1.07 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007059/2.436, allocations: 3.804 MB / 1.074 GB, free: 16.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.7e-07/2.437, allocations: 0 / 1.074 GB, free: 16.78 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01224/2.449, allocations: 1.846 MB / 1.076 GB, free: 14.94 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 () * Number of clocked 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.0009612/2.45, allocations: 221.4 kB / 1.076 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01434/2.464, allocations: 9.573 MB / 1.085 GB, free: 5.133 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/2.464, allocations: 3.938 kB / 1.085 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005015/2.469, allocations: 3.736 MB / 1.089 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004377/2.474, allocations: 0.7287 MB / 1.089 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.301/2.775, allocations: 18.35 MB / 1.107 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008493/2.783, allocations: 5.007 MB / 1.112 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008568/2.792, allocations: 2.79 MB / 1.115 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001278/2.793, allocations: 383.9 kB / 1.115 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.222e-06/2.793, allocations: 0 / 1.115 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.127/2.92, allocations: 74.84 MB / 1.188 GB, free: 90.48 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