Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001401/0.001401, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001435, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 230.3 MB / 258 MB, free: 8.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2321/0.2321, allocations: 46.94 MB / 361.4 MB, free: 4.41 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003137/0.003137, allocations: 79.86 kB / 0.4972 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3593, allocations: 66.04 MB / 0.5617 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01701/0.3763, allocations: 12.74 MB / 0.5741 GB, free: 7.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01107/0.3873, allocations: 4.548 MB / 0.5785 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002843/0.3902, allocations: 99.5 kB / 0.5786 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008069/0.3983, allocations: 3.773 MB / 0.5823 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006606/0.4049, allocations: 2.241 MB / 0.5845 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00264/0.4075, allocations: 1.006 MB / 0.5855 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009867/0.4174, allocations: 6.05 MB / 0.5914 GB, free: 5.969 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005044/0.4224, allocations: 3.242 MB / 0.5946 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004117/0.4265, allocations: 1.982 MB / 0.5965 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004874/0.4314, allocations: 2.827 MB / 0.5993 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001234/0.4326, allocations: 412 kB / 0.5997 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00354/0.4362, allocations: 1.478 MB / 0.6011 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003025/0.4392, allocations: 2.489 MB / 0.6035 GB, free: 9.457 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003858/0.4431, allocations: 2.703 MB / 0.6062 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01118/0.4542, allocations: 8.638 MB / 0.6146 GB, free: 14.06 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4543, allocations: 7.938 kB / 0.6146 GB, free: 14.05 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.4543, allocations: 0 / 0.6146 GB, free: 14.05 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002055/0.4545, allocations: 0 / 0.6146 GB, free: 14.05 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01358/0.468, allocations: 6.08 MB / 0.6205 GB, free: 7.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.4681, allocations: 8.031 kB / 0.6206 GB, free: 7.902 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/0.4801, allocations: 2.575 MB / 0.6231 GB, free: 5.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009174/0.4893, allocations: 3.664 MB / 0.6266 GB, free: 1.605 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/0.4895, allocations: 279.5 kB / 0.6269 GB, free: 1.332 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000985/0.4905, allocations: 383.7 kB / 0.6273 GB, free: 0.957 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02082/0.5113, allocations: 11.59 MB / 0.6386 GB, free: 4.508 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001337/0.5114, allocations: 55.52 kB / 0.6387 GB, free: 4.453 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004606/0.5119, allocations: 183.8 kB / 0.6388 GB, free: 4.273 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003711/0.5156, allocations: 2.143 MB / 0.6409 GB, free: 2.129 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02045/0.5361, allocations: 9.621 MB / 0.6503 GB, free: 8.484 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06359/0.5996, allocations: 45.54 MB / 0.6948 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01076/0.6104, allocations: 3.348 MB / 0.6981 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003028/0.6134, allocations: 2.001 MB / 0.7 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01167/0.6251, allocations: 6.294 MB / 0.7062 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/0.6251, allocations: 47.56 kB / 0.7062 GB, free: 13.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=154): time 3.917e-06/0.6252, allocations: 0 / 0.7062 GB, free: 13.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=166): time 0.04671/0.6719, allocations: 16.52 MB / 0.7223 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.672, allocations: 196.9 kB / 0.7225 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008671/0.6807, allocations: 5.616 MB / 0.728 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004032/0.6811, allocations: 49.7 kB / 0.7281 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003605/0.6847, allocations: 3.834 MB / 0.7318 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001138/0.6858, allocations: 0.6982 MB / 0.7325 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002136/0.688, allocations: 1.428 MB / 0.7339 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.6881, allocations: 305.1 kB / 0.7342 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3372/1.025, allocations: 2.31 MB / 0.7364 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005459/1.031, allocations: 6.581 MB / 0.7429 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008332/1.039, allocations: 9.564 MB / 0.7522 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.48e-05/1.039, allocations: 42.69 kB / 0.7522 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01385/1.053, allocations: 9.627 MB / 0.7616 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.145e-05/1.053, allocations: 72.88 kB / 0.7617 GB, free: 136 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/1.053, allocations: 152 kB / 0.7618 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002665/1.056, allocations: 1.212 MB / 0.763 GB, free: 135 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003998/1.06, allocations: 1.568 MB / 0.7646 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007624/1.068, allocations: 8.126 MB / 0.7725 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004661/1.072, allocations: 370.5 kB / 0.7729 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005764/1.073, allocations: 420 kB / 0.7733 GB, free: 125.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,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 (842): * Single equations (assignments): 835 * 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%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00304/1.076, allocations: 2.455 MB / 0.7757 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007474/1.077, allocations: 486.8 kB / 0.7761 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005481/1.082, allocations: 3.417 MB / 0.7795 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/1.082, allocations: 16 kB / 0.7795 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/1.082, allocations: 8 kB / 0.7795 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/1.082, allocations: 3.984 kB / 0.7795 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/1.094, allocations: 8.143 MB / 0.7874 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/1.094, allocations: 4 kB / 0.7874 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/1.095, allocations: 295.5 kB / 0.7877 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002553/1.098, allocations: 0.9872 MB / 0.7887 GB, free: 110 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/1.098, allocations: 24 kB / 0.7887 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006967/1.105, allocations: 7.473 MB / 0.796 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.105, allocations: 7.938 kB / 0.796 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007414/1.112, allocations: 5.892 MB / 0.8018 GB, free: 96.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001541/1.114, allocations: 481.7 kB / 0.8022 GB, free: 96.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006185/1.115, allocations: 32 kB / 0.8023 GB, free: 96.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/1.116, allocations: 91.81 kB / 0.8023 GB, free: 95.92 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002529/1.116, allocations: 104.8 kB / 0.8024 GB, free: 95.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/1.116, allocations: 48 kB / 0.8025 GB, free: 95.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004725/1.121, allocations: 3.588 MB / 0.806 GB, free: 92.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.121, allocations: 1.312 kB / 0.806 GB, free: 92.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005668/1.127, allocations: 1.145 MB / 0.8071 GB, free: 91.07 MB / 0.5606 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 (126): * Single equations (assignments): 121 * 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.0004278/1.127, allocations: 161.4 kB / 0.8073 GB, free: 90.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007265/1.135, allocations: 5.365 MB / 0.8125 GB, free: 85.56 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.135, allocations: 4.125 kB / 0.8125 GB, free: 85.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001918/1.136, allocations: 1.529 MB / 0.814 GB, free: 84.01 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003605/1.14, allocations: 0.5997 MB / 0.8146 GB, free: 83.42 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/1.155, allocations: 11.01 MB / 0.8253 GB, free: 72.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003092/1.158, allocations: 3.764 MB / 0.829 GB, free: 68.56 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003995/1.162, allocations: 2.128 MB / 0.8311 GB, free: 66.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007093/1.163, allocations: 295.4 kB / 0.8314 GB, free: 66.14 MB / 0.5606 GB Notification: Performance of SimCode: time 1.103e-06/1.163, allocations: 0 / 0.8314 GB, free: 66.14 MB / 0.5606 GB Notification: Performance of Templates: time 0.07668/1.239, allocations: 46.38 MB / 0.8767 GB, free: 20.07 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.850233851931989]