Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 105.4 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 183 kB / 19.38 MB, free: 3.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1997/0.1997, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.322, allocations: 60.82 MB / 0.5195 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.007415/0.3294, allocations: 6.796 MB / 0.5262 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005428/0.3349, allocations: 2.378 MB / 0.5285 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.3363, allocations: 31.44 kB / 0.5285 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00257/0.3389, allocations: 1.033 MB / 0.5295 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002816/0.3417, allocations: 0.8579 MB / 0.5304 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.3428, allocations: 299.3 kB / 0.5307 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003057/0.3459, allocations: 1.901 MB / 0.5325 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002192/0.3481, allocations: 1.257 MB / 0.5338 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/0.3497, allocations: 0.7152 MB / 0.5344 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/0.3515, allocations: 0.9677 MB / 0.5354 GB, free: 9.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005807/0.3521, allocations: 127.2 kB / 0.5355 GB, free: 9.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.354, allocations: 0.7248 MB / 0.5362 GB, free: 8.723 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001235/0.3553, allocations: 0.9329 MB / 0.5371 GB, free: 8.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001778/0.3571, allocations: 1.143 MB / 0.5383 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004593/0.3617, allocations: 3.742 MB / 0.5419 GB, free: 4.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3617, allocations: 0 / 0.5419 GB, free: 4.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3617, allocations: 0 / 0.5419 GB, free: 4.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.931e-05/0.3618, allocations: 0 / 0.5419 GB, free: 4.793 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.004843/0.3666, allocations: 2.668 MB / 0.5445 GB, free: 2.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.3667, allocations: 12.03 kB / 0.5445 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005525/0.3722, allocations: 1.565 MB / 0.546 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.3744, allocations: 1.081 MB / 0.5471 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.186e-05/0.3745, allocations: 119.1 kB / 0.5472 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003453/0.3748, allocations: 167.9 kB / 0.5474 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009506/0.3843, allocations: 6.182 MB / 0.5534 GB, free: 8.707 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.11e-05/0.3844, allocations: 31.66 kB / 0.5534 GB, free: 8.676 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003007/0.3847, allocations: 75.89 kB / 0.5535 GB, free: 8.602 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00236/0.3871, allocations: 1.445 MB / 0.5549 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009016/0.3961, allocations: 5.389 MB / 0.5602 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02589/0.4221, allocations: 24.77 MB / 0.5844 GB, free: 8.191 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004364/0.4265, allocations: 2.357 MB / 0.5867 GB, free: 5.688 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/0.4277, allocations: 0.9873 MB / 0.5876 GB, free: 4.688 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003191/0.428, allocations: 327.1 kB / 0.588 GB, free: 4.312 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.4281, allocations: 42.56 kB / 0.588 GB, free: 4.262 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.377e-06/0.4281, allocations: 4 kB / 0.588 GB, free: 4.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.02248/0.4506, allocations: 8.426 MB / 0.5962 GB, free: 11.69 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/0.4507, allocations: 144.5 kB / 0.5964 GB, free: 11.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003959/0.4547, allocations: 2.647 MB / 0.599 GB, free: 8.844 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001644/0.4549, allocations: 37.64 kB / 0.599 GB, free: 8.801 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001429/0.4563, allocations: 2.02 MB / 0.601 GB, free: 6.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004829/0.4568, allocations: 438.6 kB / 0.6014 GB, free: 6.316 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/0.4581, allocations: 0.8649 MB / 0.6022 GB, free: 5.438 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.045e-05/0.4582, allocations: 301.1 kB / 0.6025 GB, free: 5.141 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/0.4602, allocations: 1.328 MB / 0.6038 GB, free: 3.805 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004049/0.4643, allocations: 4.116 MB / 0.6078 GB, free: 14.29 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006424/0.4707, allocations: 5.942 MB / 0.6136 GB, free: 6.965 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-05/0.4709, allocations: 28 kB / 0.6137 GB, free: 6.938 MB / 478.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009576/0.4804, allocations: 5.486 MB / 0.619 GB, free: 1.441 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.325e-05/0.4806, allocations: 48 kB / 0.6191 GB, free: 1.395 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001332/0.4807, allocations: 104 kB / 0.6192 GB, free: 1.293 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.4818, allocations: 460.9 kB / 0.6196 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003027/0.4848, allocations: 0.9747 MB / 0.6206 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003921/0.4888, allocations: 3.665 MB / 0.6241 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002878/0.4917, allocations: 235.6 kB / 0.6244 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006009/0.4923, allocations: 276 kB / 0.6246 GB, free: 11.56 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (527): * Single equations (assignments): 523 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002431/0.4948, allocations: 1.356 MB / 0.6259 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000465/0.4952, allocations: 225.1 kB / 0.6262 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002561/0.4978, allocations: 1.326 MB / 0.6275 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.988e-05/0.4978, allocations: 12 kB / 0.6275 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.4979, allocations: 4 kB / 0.6275 GB, free: 8.609 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.4979, allocations: 3.984 kB / 0.6275 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008186/0.5061, allocations: 4.204 MB / 0.6316 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.5061, allocations: 0 / 0.6316 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006507/0.5068, allocations: 143.8 kB / 0.6317 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008392/0.5076, allocations: 308.6 kB / 0.632 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.5078, allocations: 16 kB / 0.632 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00328/0.511, allocations: 3.074 MB / 0.635 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/0.5111, allocations: 0 / 0.635 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004404/0.5155, allocations: 3.068 MB / 0.638 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006651/0.5162, allocations: 274 kB / 0.6383 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004455/0.5166, allocations: 23.94 kB / 0.6383 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.5177, allocations: 47.94 kB / 0.6384 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.5179, allocations: 56.36 kB / 0.6384 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-05/0.5179, allocations: 28 kB / 0.6384 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002834/0.5208, allocations: 1.633 MB / 0.64 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5208, allocations: 0 / 0.64 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003836/0.5246, allocations: 0.5976 MB / 0.6406 GB, free: 10.89 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (77): * Single equations (assignments): 73 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000412/0.5251, allocations: 143 kB / 0.6407 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005033/0.5301, allocations: 3.227 MB / 0.6439 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5301, allocations: 4 kB / 0.6439 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.5313, allocations: 0.8613 MB / 0.6447 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.533, allocations: 212.5 kB / 0.6449 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/0.5447, allocations: 5.734 MB / 0.6505 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002914/0.5476, allocations: 2.179 MB / 0.6527 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006587/0.5483, allocations: 187.4 kB / 0.6529 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/0.5484, allocations: 4 kB / 0.6529 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of Templates: time 0.06609/0.6145, allocations: 46.19 MB / 0.698 GB, free: 104 kB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches