Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001371, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 177.9 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3666/0.3666, allocations: 43.55 MB / 314.5 MB, free: 9.035 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005072/0.0005073, allocations: 20 kB / 383.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.126, allocations: 58.86 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.2368/0.3629, allocations: 29.7 MB / 472.5 MB, free: 34.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01728/0.3802, allocations: 7.714 MB / 480.2 MB, free: 28.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007467/0.3877, allocations: 144.2 kB / 480.3 MB, free: 28.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004402/0.3922, allocations: 1.43 MB / 481.7 MB, free: 28.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0116/0.4038, allocations: 4.351 MB / 486.1 MB, free: 26.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.4058, allocations: 0.491 MB / 486.6 MB, free: 26.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003279/0.4091, allocations: 1.905 MB / 488.5 MB, free: 25.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003666/0.4128, allocations: 2.935 MB / 491.4 MB, free: 24.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.4143, allocations: 0.866 MB / 492.3 MB, free: 23.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001673/0.4159, allocations: 1.131 MB / 493.4 MB, free: 23.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003925/0.4164, allocations: 113.8 kB / 493.5 MB, free: 23.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.4183, allocations: 0.7758 MB / 494.3 MB, free: 23.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001711/0.42, allocations: 1.305 MB / 495.6 MB, free: 23.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009427/0.421, allocations: 0.6963 MB / 496.3 MB, free: 22.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007843/0.4288, allocations: 4.453 MB / 0.489 GB, free: 21.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4289, allocations: 0 / 0.489 GB, free: 21.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.4289, allocations: 0 / 0.489 GB, free: 21.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003056/0.4292, allocations: 1.219 kB / 0.489 GB, free: 21.59 MB / 382.1 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.01088/0.4401, allocations: 3.417 MB / 0.4924 GB, free: 19.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.4402, allocations: 14.34 kB / 0.4924 GB, free: 19.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0084/0.4486, allocations: 2.116 MB / 0.4944 GB, free: 19.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005742/0.4543, allocations: 2.141 MB / 0.4965 GB, free: 17.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.4546, allocations: 192.9 kB / 0.4967 GB, free: 17.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008667/0.4554, allocations: 265.3 kB / 0.497 GB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0166/0.472, allocations: 8.492 MB / 0.5053 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.403e-05/0.4722, allocations: 40.09 kB / 0.5053 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003377/0.4725, allocations: 124.8 kB / 0.5054 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002759/0.4753, allocations: 1.699 MB / 0.5071 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01278/0.4881, allocations: 7.153 MB / 0.5141 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04321/0.5313, allocations: 34.25 MB / 0.5475 GB, free: 3.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007446/0.5388, allocations: 3.275 MB / 0.5507 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007489/0.5464, allocations: 4.405 MB / 0.555 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.5464, allocations: 47.06 kB / 0.5551 GB, free: 11.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 4.308e-06/0.5464, allocations: 7.938 kB / 0.5551 GB, free: 11.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02887/0.5753, allocations: 11.82 MB / 0.5666 GB, free: 15.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.5755, allocations: 170.8 kB / 0.5668 GB, free: 14.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006071/0.5815, allocations: 3.852 MB / 0.5705 GB, free: 10.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000377/0.5819, allocations: 41.7 kB / 0.5706 GB, free: 10.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002081/0.584, allocations: 2.76 MB / 0.5733 GB, free: 8.129 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006204/0.5847, allocations: 0.5132 MB / 0.5738 GB, free: 7.609 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.5849, allocations: 108 kB / 0.5739 GB, free: 7.504 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003237/0.5852, allocations: 0.5334 MB / 0.5744 GB, free: 6.965 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002495/0.5877, allocations: 1.673 MB / 0.576 GB, free: 5.285 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004689/0.5924, allocations: 5.073 MB / 0.581 GB, free: 14.48 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003967/0.5964, allocations: 2.879 MB / 0.5838 GB, free: 11.61 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.872e-05/0.5965, allocations: 32 kB / 0.5838 GB, free: 11.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.0112/0.6077, allocations: 6.656 MB / 0.5903 GB, free: 4.906 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.007e-05/0.6078, allocations: 63.11 kB / 0.5904 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001216/0.6079, allocations: 124 kB / 0.5905 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006304/0.6086, allocations: 337.3 kB / 0.5908 GB, free: 4.395 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003725/0.6123, allocations: 1.24 MB / 0.592 GB, free: 3.152 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/0.6149, allocations: 2.321 MB / 0.5943 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004721/0.6196, allocations: 295.5 kB / 0.5946 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007701/0.6204, allocations: 332 kB / 0.5949 GB, free: 84 kB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * 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 (664): * Single equations (assignments): 660 * 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.003705/0.6241, allocations: 1.787 MB / 0.5966 GB, free: 14.28 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006297/0.6248, allocations: 308 kB / 0.5969 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004502/0.6293, allocations: 2.363 MB / 0.5992 GB, free: 11.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.411e-05/0.6294, allocations: 20.17 kB / 0.5993 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.6294, allocations: 4 kB / 0.5993 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.6294, allocations: 7.969 kB / 0.5993 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01258/0.642, allocations: 5.931 MB / 0.6051 GB, free: 5.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.642, allocations: 4 kB / 0.6051 GB, free: 5.566 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000824/0.6429, allocations: 171.7 kB / 0.6052 GB, free: 5.398 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00209/0.645, allocations: 0.7147 MB / 0.6059 GB, free: 4.68 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.6451, allocations: 20 kB / 0.606 GB, free: 4.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005902/0.651, allocations: 4.576 MB / 0.6104 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.651, allocations: 4.031 kB / 0.6104 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007042/0.6581, allocations: 4.444 MB / 0.6148 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00187/0.66, allocations: 0.5399 MB / 0.6153 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004353/0.6604, allocations: 20 kB / 0.6153 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.6616, allocations: 75.81 kB / 0.6154 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/0.6618, allocations: 68.5 kB / 0.6155 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.351e-05/0.6619, allocations: 36 kB / 0.6155 GB, free: 10.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004308/0.6662, allocations: 2.421 MB / 0.6179 GB, free: 8.277 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6662, allocations: 0 / 0.6179 GB, free: 8.277 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005316/0.6715, allocations: 0.832 MB / 0.6187 GB, free: 7.445 MB / 494.1 MB 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.0005178/0.6721, allocations: 175 kB / 0.6188 GB, free: 7.266 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006339/0.6784, allocations: 3.995 MB / 0.6227 GB, free: 3.285 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.6785, allocations: 0.6875 kB / 0.6227 GB, free: 3.285 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.6799, allocations: 1.115 MB / 0.6238 GB, free: 2.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/0.682, allocations: 353.2 kB / 0.6242 GB, free: 1.816 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.696, allocations: 8.614 MB / 0.6326 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003048/0.6991, allocations: 2.863 MB / 0.6354 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003946/0.703, allocations: 1.657 MB / 0.637 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006621/0.7037, allocations: 207.4 kB / 0.6372 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of SimCode: time 1.182e-06/0.7037, allocations: 0 / 0.6372 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of Templates: time 0.2778/0.9816, allocations: 29.56 MB / 0.666 GB, free: 154.1 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches