Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001766/0.001766, allocations: 197.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 226.5 MB / 245.4 MB, free: 8.246 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007896/0.0007896, allocations: 111.8 kB / 297.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3038/0.3038, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002721/0.0002722, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3047, allocations: 62.96 MB / 0.5184 GB, free: 37.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.4326, allocations: 110.4 MB / 0.6262 GB, free: 10.83 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.4328, allocations: 87.92 kB / 0.6263 GB, free: 10.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3899/0.8227, allocations: 73.53 MB / 0.6981 GB, free: 101.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.8227, allocations: 0 / 0.6981 GB, free: 101.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001615/0.8229, allocations: 73.77 kB / 0.6982 GB, free: 101.9 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.008817/0.8317, allocations: 3.53 MB / 0.7016 GB, free: 100.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.8318, allocations: 11.19 kB / 0.7017 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008815/0.8406, allocations: 2.054 MB / 0.7037 GB, free: 100 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007526/0.8482, allocations: 2.781 MB / 0.7064 GB, free: 99.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004033/0.8486, allocations: 262.5 kB / 0.7066 GB, free: 99.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001863/0.8505, allocations: 354.2 kB / 0.707 GB, free: 99.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01997/0.8705, allocations: 8.947 MB / 0.7157 GB, free: 96.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003412/0.8709, allocations: 59.19 kB / 0.7158 GB, free: 96.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001489/0.8724, allocations: 176.8 kB / 0.7159 GB, free: 96.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00163/0.874, allocations: 0.8896 MB / 0.7168 GB, free: 96.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01483/0.8889, allocations: 7.199 MB / 0.7238 GB, free: 94.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03667/0.9256, allocations: 42.91 MB / 0.7657 GB, free: 60.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006219/0.9318, allocations: 3.294 MB / 0.7689 GB, free: 59.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.9334, allocations: 1.446 MB / 0.7704 GB, free: 58.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005691/0.9391, allocations: 4.413 MB / 0.7747 GB, free: 55.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.9391, allocations: 50.31 kB / 0.7747 GB, free: 55.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=121): time 4.007e-06/0.9391, allocations: 0 / 0.7747 GB, free: 55.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=129): time 0.02625/0.9654, allocations: 11.36 MB / 0.7858 GB, free: 51.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/0.9655, allocations: 165.3 kB / 0.786 GB, free: 51.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005602/0.9711, allocations: 3.722 MB / 0.7896 GB, free: 48.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001895/0.9713, allocations: 41.7 kB / 0.7896 GB, free: 48.03 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001306/0.9726, allocations: 2.76 MB / 0.7923 GB, free: 45.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004878/0.9731, allocations: 0.5192 MB / 0.7928 GB, free: 45.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003214/0.9735, allocations: 103.9 kB / 0.7929 GB, free: 45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002882/0.9738, allocations: 0.5309 MB / 0.7935 GB, free: 44.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002276/0.9761, allocations: 1.685 MB / 0.7951 GB, free: 43.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003454/0.9795, allocations: 5.108 MB / 0.8001 GB, free: 36.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005736/0.9853, allocations: 7.406 MB / 0.8073 GB, free: 27.94 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-05/0.9853, allocations: 36 kB / 0.8074 GB, free: 27.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.008967/0.9943, allocations: 6.672 MB / 0.8139 GB, free: 21.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.923e-05/0.9944, allocations: 56 kB / 0.8139 GB, free: 21.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-05/0.9945, allocations: 124 kB / 0.814 GB, free: 21.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005038/0.995, allocations: 321.3 kB / 0.8144 GB, free: 21.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003386/0.9984, allocations: 1.287 MB / 0.8156 GB, free: 20.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/1, allocations: 2.298 MB / 0.8179 GB, free: 17.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003323/1.004, allocations: 291.5 kB / 0.8181 GB, free: 17.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004409/1.004, allocations: 332 kB / 0.8185 GB, free: 17.11 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (666): * Single equations (assignments): 662 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002533/1.007, allocations: 1.795 MB / 0.8202 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000554/1.007, allocations: 312 kB / 0.8205 GB, free: 14.99 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004059/1.011, allocations: 2.355 MB / 0.8228 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.674e-05/1.011, allocations: 15.98 kB / 0.8228 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/1.011, allocations: 4 kB / 0.8228 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/1.011, allocations: 7.984 kB / 0.8228 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/1.023, allocations: 5.952 MB / 0.8286 GB, free: 6.605 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/1.023, allocations: 0 / 0.8286 GB, free: 6.605 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007522/1.024, allocations: 171.8 kB / 0.8288 GB, free: 6.438 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001788/1.026, allocations: 0.7069 MB / 0.8295 GB, free: 5.727 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/1.026, allocations: 20 kB / 0.8295 GB, free: 5.707 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004577/1.031, allocations: 4.465 MB / 0.8339 GB, free: 1.113 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.031, allocations: 4 kB / 0.8339 GB, free: 1.109 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006826/1.037, allocations: 4.326 MB / 0.8381 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/1.039, allocations: 368.9 kB / 0.8385 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009165/1.04, allocations: 28 kB / 0.8385 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001814/1.041, allocations: 71.91 kB / 0.8385 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002494/1.042, allocations: 64.56 kB / 0.8386 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/1.042, allocations: 35.98 kB / 0.8386 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005138/1.047, allocations: 2.315 MB / 0.8409 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.41e-07/1.047, allocations: 0 / 0.8409 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005404/1.052, allocations: 0.828 MB / 0.8417 GB, free: 9.047 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005143/1.053, allocations: 166.9 kB / 0.8419 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007401/1.06, allocations: 3.998 MB / 0.8458 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.06, allocations: 1.562 kB / 0.8458 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001647/1.062, allocations: 1.104 MB / 0.8469 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003515/1.066, allocations: 380.4 kB / 0.8472 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/1.082, allocations: 8.624 MB / 0.8556 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004547/1.087, allocations: 2.791 MB / 0.8584 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00509/1.092, allocations: 1.663 MB / 0.86 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008596/1.093, allocations: 211.4 kB / 0.8602 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of SimCode: time 7.51e-07/1.093, allocations: 0 / 0.8602 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of Templates: time 0.3089/1.402, allocations: 29.2 MB / 0.8887 GB, free: 127.7 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches