Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 109.8 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002271/0.002271, allocations: 187.9 kB / 22.98 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 207.6 MB / 233.7 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2242/0.2242, allocations: 44.23 MB / 330.2 MB, free: 9.562 MB / 270.1 MB " [Timeout remaining time 180] 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.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "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.002176/0.002176, allocations: 71.83 kB / 468 MB, free: 3.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1423, allocations: 61.03 MB / 0.5167 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01823/0.1606, allocations: 13.82 MB / 0.5301 GB, free: 8.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.1726, allocations: 4.661 MB / 0.5347 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00315/0.1758, allocations: 103.5 kB / 0.5348 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008018/0.1838, allocations: 3.835 MB / 0.5385 GB, free: 292 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2886/0.4724, allocations: 2.432 MB / 0.5409 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004206/0.4767, allocations: 0.9989 MB / 0.5419 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01191/0.4886, allocations: 5.916 MB / 0.5477 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006633/0.4952, allocations: 3.367 MB / 0.551 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005961/0.5012, allocations: 2.122 MB / 0.553 GB, free: 9.496 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007188/0.5083, allocations: 3.047 MB / 0.556 GB, free: 8.629 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002861/0.5112, allocations: 443.7 kB / 0.5564 GB, free: 8.629 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006474/0.5177, allocations: 1.52 MB / 0.5579 GB, free: 8.426 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006212/0.5239, allocations: 2.695 MB / 0.5605 GB, free: 7.473 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00794/0.5318, allocations: 2.936 MB / 0.5634 GB, free: 5.434 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01665/0.5485, allocations: 9.413 MB / 0.5726 GB, free: 152 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.5485, allocations: 0.9688 kB / 0.5726 GB, free: 152 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5485, allocations: 0 / 0.5726 GB, free: 152 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004476/0.5489, allocations: 1.406 kB / 0.5726 GB, free: 152 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02721/0.5761, allocations: 6.483 MB / 0.5789 GB, free: 11.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.5762, allocations: 9.5 kB / 0.5789 GB, free: 11.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01523/0.5914, allocations: 2.673 MB / 0.5816 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.014/0.6054, allocations: 3.953 MB / 0.5854 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004965/0.6059, allocations: 298.9 kB / 0.5857 GB, free: 7.965 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002664/0.6086, allocations: 404.3 kB / 0.5861 GB, free: 7.863 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03493/0.6435, allocations: 12.62 MB / 0.5984 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003599/0.6439, allocations: 55.56 kB / 0.5985 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002704/0.6466, allocations: 192.8 kB / 0.5986 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006849/0.6534, allocations: 2.404 MB / 0.601 GB, free: 8.957 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03693/0.6904, allocations: 10.54 MB / 0.6113 GB, free: 14.4 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09941/0.7898, allocations: 48.48 MB / 0.6586 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01332/0.8031, allocations: 4.186 MB / 0.6627 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004316/0.8074, allocations: 2.252 MB / 0.6649 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01724/0.8246, allocations: 6.945 MB / 0.6717 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.48e-05/0.8247, allocations: 55.81 kB / 0.6718 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=181): time 6.622e-06/0.8247, allocations: 0 / 0.6718 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=193): time 0.06198/0.8867, allocations: 18.06 MB / 0.6894 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001899/0.8869, allocations: 200.9 kB / 0.6896 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01496/0.9019, allocations: 5.852 MB / 0.6953 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006089/0.9025, allocations: 49.7 kB / 0.6953 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004797/0.9073, allocations: 4.102 MB / 0.6993 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001628/0.9089, allocations: 0.7971 MB / 0.7001 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005798/0.9147, allocations: 1.516 MB / 0.7016 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002171/0.9149, allocations: 301.1 kB / 0.7019 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005368/0.9203, allocations: 2.603 MB / 0.7044 GB, free: 13.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009003/0.9293, allocations: 7.042 MB / 0.7113 GB, free: 4.703 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01611/0.9454, allocations: 10.33 MB / 0.7214 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002227/0.9456, allocations: 44 kB / 0.7214 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02468/0.9703, allocations: 10.42 MB / 0.7316 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002309/0.9705, allocations: 76.12 kB / 0.7317 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003687/0.9709, allocations: 160 kB / 0.7318 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003991/0.9749, allocations: 1.215 MB / 0.733 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006864/0.9817, allocations: 1.704 MB / 0.7347 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/0.9946, allocations: 8.148 MB / 0.7427 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008206/1.003, allocations: 415.5 kB / 0.743 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002106/1.005, allocations: 455.2 kB / 0.7435 GB, free: 1.355 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (904): * Single equations (assignments): 897 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009174/1.014, allocations: 2.624 MB / 0.746 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001786/1.016, allocations: 0.4889 MB / 0.7465 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/1.027, allocations: 3.962 MB / 0.7504 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.665e-05/1.027, allocations: 20 kB / 0.7504 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.837e-05/1.027, allocations: 8 kB / 0.7504 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-05/1.027, allocations: 7.969 kB / 0.7504 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02664/1.054, allocations: 9.228 MB / 0.7594 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.029e-05/1.054, allocations: 4 kB / 0.7594 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/1.056, allocations: 359.4 kB / 0.7598 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3383/1.394, allocations: 0.9864 MB / 0.7607 GB, free: 191.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005363/1.394, allocations: 36.77 kB / 0.7608 GB, free: 191.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00936/1.404, allocations: 7.48 MB / 0.7681 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.404, allocations: 9.359 kB / 0.7681 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01156/1.415, allocations: 6.754 MB / 0.7747 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003068/1.418, allocations: 0.7777 MB / 0.7754 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007583/1.419, allocations: 38.55 kB / 0.7755 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001881/1.421, allocations: 114.9 kB / 0.7756 GB, free: 185.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004518/1.422, allocations: 122.9 kB / 0.7757 GB, free: 185.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001618/1.422, allocations: 50.33 kB / 0.7758 GB, free: 185.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007786/1.429, allocations: 3.739 MB / 0.7794 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/1.429, allocations: 0 / 0.7794 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009587/1.439, allocations: 1.271 MB / 0.7807 GB, free: 184.3 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006006/1.44, allocations: 160.3 kB / 0.7808 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01167/1.451, allocations: 5.992 MB / 0.7867 GB, free: 182.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/1.451, allocations: 0 / 0.7867 GB, free: 182.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002786/1.454, allocations: 1.767 MB / 0.7884 GB, free: 181.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00511/1.459, allocations: 0.6146 MB / 0.789 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02288/1.482, allocations: 12.03 MB / 0.8007 GB, free: 176 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004505/1.487, allocations: 4.021 MB / 0.8047 GB, free: 174.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004984/1.492, allocations: 2.291 MB / 0.8069 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009736/1.493, allocations: 317.9 kB / 0.8072 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of SimCode: time 8.92e-07/1.493, allocations: 0 / 0.8072 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.08394/1.577, allocations: 50.08 MB / 0.8561 GB, free: 126.9 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.232242439873517]