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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 75.77 kB / 20.51 MB, free: 1.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 168.3 kB / 23.76 MB, free: 4.195 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.378/1.378, allocations: 158.6 MB / 185.5 MB, free: 6.125 MB / 174.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.2114/0.2114, allocations: 32.38 MB / 270.1 MB, free: 2.703 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 75.81 kB / 407.8 MB, free: 5.453 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1464, allocations: 61.04 MB / 468.9 MB, free: 8.223 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3002/0.4466, allocations: 11.96 MB / 480.8 MB, free: 43.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009135/0.4557, allocations: 4.411 MB / 485.3 MB, free: 42.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002583/0.4583, allocations: 107.8 kB / 485.4 MB, free: 42.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005984/0.4643, allocations: 3.674 MB / 489 MB, free: 40.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006499/0.4708, allocations: 2.436 MB / 491.5 MB, free: 39.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.4732, allocations: 1.004 MB / 492.5 MB, free: 39.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008211/0.4814, allocations: 5.921 MB / 498.4 MB, free: 36.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004742/0.4861, allocations: 3.643 MB / 0.4903 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003825/0.49, allocations: 2.122 MB / 0.4923 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005446/0.4954, allocations: 2.881 MB / 0.4952 GB, free: 33.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002587/0.498, allocations: 444.4 kB / 0.4956 GB, free: 33.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004664/0.5027, allocations: 1.366 MB / 0.4969 GB, free: 33.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004472/0.5071, allocations: 2.693 MB / 0.4995 GB, free: 32.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005977/0.5131, allocations: 2.185 MB / 0.5017 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01852/0.5316, allocations: 9.457 MB / 0.5109 GB, free: 26.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.5316, allocations: 0 / 0.5109 GB, free: 26.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5316, allocations: 4 kB / 0.5109 GB, free: 26.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004572/0.5321, allocations: 5.062 kB / 0.5109 GB, free: 26.93 MB / 446.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.02429/0.5564, allocations: 6.486 MB / 0.5173 GB, free: 22.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.5564, allocations: 9.312 kB / 0.5173 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01447/0.5709, allocations: 2.768 MB / 0.52 GB, free: 21.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01427/0.5852, allocations: 3.971 MB / 0.5238 GB, free: 18.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004779/0.5857, allocations: 300.4 kB / 0.5241 GB, free: 18.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002913/0.5886, allocations: 410.9 kB / 0.5245 GB, free: 18.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03049/0.6191, allocations: 12.66 MB / 0.5369 GB, free: 7.203 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003844/0.6194, allocations: 59.56 kB / 0.5369 GB, free: 7.145 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002277/0.6217, allocations: 191.8 kB / 0.5371 GB, free: 6.957 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004039/0.6258, allocations: 2.409 MB / 0.5395 GB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02577/0.6515, allocations: 10.49 MB / 0.5497 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08132/0.7328, allocations: 45.57 MB / 0.5942 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01307/0.7459, allocations: 4.344 MB / 0.5985 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004222/0.7501, allocations: 2.254 MB / 0.6007 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01593/0.7661, allocations: 6.29 MB / 0.6068 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.699e-05/0.7661, allocations: 55.81 kB / 0.6069 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=181): time 5.039e-06/0.7662, allocations: 0 / 0.6069 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=193): time 0.06402/0.8302, allocations: 18.6 MB / 0.625 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000159/0.8303, allocations: 205.2 kB / 0.6252 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01175/0.8421, allocations: 5.029 MB / 0.6301 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005838/0.8427, allocations: 57.69 kB / 0.6302 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003988/0.8467, allocations: 4.128 MB / 0.6342 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001549/0.8482, allocations: 0.7987 MB / 0.635 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004638/0.8528, allocations: 1.516 MB / 0.6365 GB, free: 15.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.853, allocations: 305.1 kB / 0.6368 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005418/0.8584, allocations: 2.603 MB / 0.6393 GB, free: 12.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009777/0.8682, allocations: 7.09 MB / 0.6462 GB, free: 3.504 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01561/0.8838, allocations: 10.34 MB / 0.6563 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002278/0.884, allocations: 44 kB / 0.6564 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02539/0.9094, allocations: 10.33 MB / 0.6665 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002226/0.9096, allocations: 76.92 kB / 0.6665 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003239/0.91, allocations: 160 kB / 0.6667 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003636/0.9136, allocations: 1.225 MB / 0.6679 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006372/0.92, allocations: 1.7 MB / 0.6695 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.9313, allocations: 8.023 MB / 0.6774 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006291/0.9376, allocations: 411.4 kB / 0.6778 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001486/0.9391, allocations: 444 kB / 0.6782 GB, free: 368 kB / 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.006655/0.9457, allocations: 2.635 MB / 0.6808 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/0.947, allocations: 421.2 kB / 0.6812 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008803/0.9558, allocations: 3.896 MB / 0.685 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.813e-05/0.9558, allocations: 27.91 kB / 0.685 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/0.9558, allocations: 4 kB / 0.685 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.55e-05/0.9558, allocations: 7.969 kB / 0.685 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02133/0.9772, allocations: 7.966 MB / 0.6928 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/0.9772, allocations: 4 kB / 0.6928 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001926/0.9791, allocations: 363.7 kB / 0.6931 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3044/1.283, allocations: 0.9868 MB / 0.6941 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000689/1.284, allocations: 37.27 kB / 0.6941 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007859/1.292, allocations: 7.372 MB / 0.7013 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.292, allocations: 6.062 kB / 0.7013 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009421/1.301, allocations: 6.672 MB / 0.7079 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002195/1.304, allocations: 0.6701 MB / 0.7085 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005137/1.304, allocations: 32.88 kB / 0.7085 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/1.306, allocations: 122.1 kB / 0.7087 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003018/1.306, allocations: 119.2 kB / 0.7088 GB, free: 178 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/1.306, allocations: 50.03 kB / 0.7088 GB, free: 178 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004257/1.31, allocations: 2.943 MB / 0.7117 GB, free: 177.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.31, allocations: 0 / 0.7117 GB, free: 177.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006364/1.317, allocations: 1.25 MB / 0.7129 GB, free: 176.9 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.0004266/1.317, allocations: 170.4 kB / 0.7131 GB, free: 176.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008848/1.326, allocations: 5.988 MB / 0.7189 GB, free: 174.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.326, allocations: 1.469 kB / 0.7189 GB, free: 174.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002492/1.329, allocations: 1.758 MB / 0.7206 GB, free: 174 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003463/1.332, allocations: 0.5135 MB / 0.7211 GB, free: 173.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02633/1.358, allocations: 11.91 MB / 0.7328 GB, free: 168.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006336/1.365, allocations: 3.503 MB / 0.7362 GB, free: 167.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006041/1.371, allocations: 2.189 MB / 0.7383 GB, free: 167.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000958/1.372, allocations: 277.9 kB / 0.7386 GB, free: 167.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.393e-06/1.372, allocations: 0 / 0.7386 GB, free: 167.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.07503/1.447, allocations: 37.98 MB / 0.7757 GB, free: 140.5 MB / 0.5919 GB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/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: 7.629857007996179]