Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.001962/0.001962, allocations: 107.1 kB / 20.44 MB, free: 1.328 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.002418/0.002418, allocations: 205.3 kB / 23.72 MB, free: 4.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2628/0.2628, allocations: 46.96 MB / 360.9 MB, free: 3.996 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 63.91 kB / 0.4966 GB, free: 7.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3727, allocations: 66.01 MB / 0.5611 GB, free: 33.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.008588/0.3813, allocations: 9.124 MB / 0.57 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007014/0.3883, allocations: 3.691 MB / 0.5736 GB, free: 25.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.39, allocations: 73.12 kB / 0.5736 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004197/0.3942, allocations: 2.03 MB / 0.5756 GB, free: 24.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005482/0.3997, allocations: 1.716 MB / 0.5773 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.4019, allocations: 0.6958 MB / 0.578 GB, free: 23.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006553/0.4084, allocations: 4.004 MB / 0.5819 GB, free: 21.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003733/0.4122, allocations: 2.149 MB / 0.584 GB, free: 20.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002909/0.4151, allocations: 1.328 MB / 0.5853 GB, free: 20.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003897/0.419, allocations: 1.905 MB / 0.5872 GB, free: 19.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001206/0.4202, allocations: 264.4 kB / 0.5874 GB, free: 19.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003134/0.4233, allocations: 1.087 MB / 0.5885 GB, free: 19.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002732/0.426, allocations: 1.704 MB / 0.5901 GB, free: 18.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003383/0.4294, allocations: 1.386 MB / 0.5915 GB, free: 18.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009773/0.4392, allocations: 6.204 MB / 0.5975 GB, free: 14.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.4392, allocations: 1.094 kB / 0.5975 GB, free: 14.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4392, allocations: 0 / 0.5975 GB, free: 14.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003035/0.4395, allocations: 0 / 0.5975 GB, free: 14.15 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: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.01361/0.4531, allocations: 4.245 MB / 0.6017 GB, free: 11.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.4532, allocations: 9.125 kB / 0.6017 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0167/0.4699, allocations: 2.459 MB / 0.6041 GB, free: 9.977 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006485/0.4764, allocations: 2.355 MB / 0.6064 GB, free: 7.871 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.4765, allocations: 193.3 kB / 0.6066 GB, free: 7.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007779/0.4773, allocations: 279.9 kB / 0.6068 GB, free: 7.406 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01323/0.4905, allocations: 8.67 MB / 0.6153 GB, free: 14.08 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001129/0.4906, allocations: 39.7 kB / 0.6154 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003625/0.491, allocations: 127.9 kB / 0.6155 GB, free: 13.92 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003172/0.4942, allocations: 1.739 MB / 0.6172 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01504/0.5092, allocations: 7.276 MB / 0.6243 GB, free: 4.898 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0466/0.5558, allocations: 31.59 MB / 0.6551 GB, free: 4.344 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009268/0.5651, allocations: 2.899 MB / 0.658 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002629/0.5677, allocations: 1.589 MB / 0.6595 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01326/0.581, allocations: 6.089 MB / 0.6655 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.949e-05/0.581, allocations: 55.5 kB / 0.6655 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 4.428e-06/0.581, allocations: 0 / 0.6655 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.07351/0.6545, allocations: 19.53 MB / 0.6846 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.6547, allocations: 197.2 kB / 0.6848 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007622/0.6623, allocations: 3.562 MB / 0.6882 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003524/0.6627, allocations: 53.69 kB / 0.6883 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003134/0.6658, allocations: 2.938 MB / 0.6912 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001125/0.6669, allocations: 0.752 MB / 0.6919 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002808/0.6697, allocations: 1.211 MB / 0.6931 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.6699, allocations: 305.1 kB / 0.6934 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004689/0.6746, allocations: 2.21 MB / 0.6955 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008973/0.6836, allocations: 5.82 MB / 0.7012 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01344/0.697, allocations: 8.614 MB / 0.7096 GB, free: 8.723 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001461/0.6972, allocations: 40 kB / 0.7097 GB, free: 8.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02294/0.7201, allocations: 9.147 MB / 0.7186 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001872/0.7203, allocations: 63.98 kB / 0.7187 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002392/0.7205, allocations: 124 kB / 0.7188 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006279/0.7268, allocations: 1.653 MB / 0.7204 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004773/0.7316, allocations: 1.326 MB / 0.7217 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01675/0.7483, allocations: 9.674 MB / 0.7311 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004595/0.7529, allocations: 323.6 kB / 0.7314 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001099/0.754, allocations: 360 kB / 0.7318 GB, free: 1.918 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (714): * Single equations (assignments): 710 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,43,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004335/0.7584, allocations: 1.904 MB / 0.7336 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008184/0.7592, allocations: 310.1 kB / 0.7339 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/0.7696, allocations: 4.102 MB / 0.7379 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-05/0.7696, allocations: 23.94 kB / 0.738 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.246e-05/0.7697, allocations: 12 kB / 0.738 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/0.7697, allocations: 7.969 kB / 0.738 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01944/0.7891, allocations: 7.502 MB / 0.7453 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-05/0.7891, allocations: 4 kB / 0.7453 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/0.7906, allocations: 247.6 kB / 0.7456 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005512/0.7961, allocations: 1.428 MB / 0.7469 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002821/0.7964, allocations: 39.97 kB / 0.747 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01643/0.8128, allocations: 8.973 MB / 0.7558 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.8128, allocations: 0 / 0.7558 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01474/0.8275, allocations: 6.716 MB / 0.7623 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.8287, allocations: 277.8 kB / 0.7626 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008904/0.8296, allocations: 32.06 kB / 0.7626 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001909/0.8315, allocations: 87.89 kB / 0.7627 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004288/0.8319, allocations: 117 kB / 0.7628 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001819/0.8321, allocations: 59.97 kB / 0.7629 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.2878/1.12, allocations: 2.039 MB / 0.7648 GB, free: 168.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.81e-07/1.12, allocations: 0 / 0.7648 GB, free: 168.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007682/1.128, allocations: 0.9697 MB / 0.7658 GB, free: 168.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (130): * Single equations (assignments): 126 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005946/1.128, allocations: 155.2 kB / 0.7659 GB, free: 168.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009935/1.138, allocations: 5.218 MB / 0.771 GB, free: 167.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.138, allocations: 0 / 0.771 GB, free: 167.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002425/1.141, allocations: 1.68 MB / 0.7727 GB, free: 166.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/1.143, allocations: 342.1 kB / 0.773 GB, free: 166.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01642/1.159, allocations: 8.689 MB / 0.7815 GB, free: 163 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00405/1.163, allocations: 2.416 MB / 0.7838 GB, free: 162.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00451/1.168, allocations: 1.78 MB / 0.7856 GB, free: 162.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006388/1.169, allocations: 206.2 kB / 0.7858 GB, free: 162.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.693e-06/1.169, allocations: 1.281 kB / 0.7858 GB, free: 162.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.06672/1.235, allocations: 37.01 MB / 0.8219 GB, free: 143.5 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.80304448492825]