Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.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.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001299, allocations: 108.7 kB / 18.45 MB, free: 4.645 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.001346/0.001346, allocations: 183.1 kB / 19.38 MB, free: 3.723 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.283/1.283, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.196/0.196, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.89 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3085, allocations: 60.81 MB / 0.5195 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003353/0.3119, allocations: 2.792 MB / 0.5223 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.3135, allocations: 0.9491 MB / 0.5232 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.3137, allocations: 10.56 kB / 0.5232 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.3139, allocations: 50.39 kB / 0.5232 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.3141, allocations: 101.5 kB / 0.5233 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.3146, allocations: 152.4 kB / 0.5235 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003527/0.315, allocations: 380.2 kB / 0.5238 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.3151, allocations: 90.75 kB / 0.5239 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.3153, allocations: 144.3 kB / 0.5241 GB, free: 468 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.3155, allocations: 145.4 kB / 0.5242 GB, free: 400 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.3155, allocations: 24.62 kB / 0.5242 GB, free: 400 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.3157, allocations: 51.73 kB / 0.5243 GB, free: 388 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.968e-05/0.3157, allocations: 64.56 kB / 0.5243 GB, free: 344 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.3158, allocations: 164.1 kB / 0.5245 GB, free: 248 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.3163, allocations: 372.2 kB / 0.5249 GB, free: 104 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3163, allocations: 1.312 kB / 0.5249 GB, free: 104 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3163, allocations: 0 / 0.5249 GB, free: 104 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3163, allocations: 0 / 0.5249 GB, free: 104 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009561/0.3173, allocations: 0.6238 MB / 0.5255 GB, free: 15.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.3173, allocations: 9.812 kB / 0.5255 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002155/0.3175, allocations: 48.92 kB / 0.5255 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.3179, allocations: 283.9 kB / 0.5258 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.3179, allocations: 24.41 kB / 0.5258 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.471e-05/0.318, allocations: 34.61 kB / 0.5258 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004767/0.3185, allocations: 301 kB / 0.5261 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.3185, allocations: 8.766 kB / 0.5261 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.3185, allocations: 9.812 kB / 0.5262 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.3185, allocations: 7.188 kB / 0.5262 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.3189, allocations: 201.9 kB / 0.5264 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.3206, allocations: 1.278 MB / 0.5276 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.3212, allocations: 348.1 kB / 0.5279 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.3214, allocations: 107.5 kB / 0.528 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.3214, allocations: 9.266 kB / 0.528 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.3215, allocations: 41.72 kB / 0.5281 GB, free: 13.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 2.054e-06/0.3215, allocations: 4 kB / 0.5281 GB, free: 13.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002439/0.3239, allocations: 1.575 MB / 0.5296 GB, free: 12.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.481e-05/0.324, allocations: 164 kB / 0.5298 GB, free: 12.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.3242, allocations: 222.1 kB / 0.53 GB, free: 11.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.3243, allocations: 39.08 kB / 0.53 GB, free: 11.87 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.3244, allocations: 181.9 kB / 0.5302 GB, free: 11.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.3245, allocations: 144 kB / 0.5303 GB, free: 11.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3246, allocations: 81.5 kB / 0.5304 GB, free: 11.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3247, allocations: 345.3 kB / 0.5307 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.3249, allocations: 89.09 kB / 0.5308 GB, free: 11.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.3252, allocations: 244.8 kB / 0.5311 GB, free: 10.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.3256, allocations: 368.3 kB / 0.5314 GB, free: 10.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3256, allocations: 1.062 kB / 0.5314 GB, free: 10.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006142/0.3262, allocations: 424 kB / 0.5318 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3263, allocations: 6.875 kB / 0.5318 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.3263, allocations: 5.25 kB / 0.5318 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.3263, allocations: 6.969 kB / 0.5318 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.3267, allocations: 119.8 kB / 0.532 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/0.3267, allocations: 15.67 kB / 0.532 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.3269, allocations: 22.94 kB / 0.532 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.327, allocations: 20.5 kB / 0.532 GB, free: 10.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001665/0.3271, allocations: 157.1 kB / 0.5322 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.3273, allocations: 28.25 kB / 0.5322 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.3275, allocations: 119.5 kB / 0.5323 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.3275, allocations: 9.969 kB / 0.5323 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.3275, allocations: 1.438 kB / 0.5323 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3275, allocations: 1.562 kB / 0.5323 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.329, allocations: 1.034 MB / 0.5333 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.329, allocations: 2.188 kB / 0.5333 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004172/0.3295, allocations: 100.5 kB / 0.5334 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.3295, allocations: 5.812 kB / 0.5334 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.3295, allocations: 9.719 kB / 0.5334 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.3295, allocations: 12.17 kB / 0.5334 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.3295, allocations: 7.625 kB / 0.5335 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007755/0.3303, allocations: 0.8293 MB / 0.5343 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-05/0.3304, allocations: 110.3 kB / 0.5344 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/0.3305, allocations: 13.84 kB / 0.5344 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.3308, allocations: 9.219 kB / 0.5344 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.3308, allocations: 33.66 kB / 0.5344 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.3308, allocations: 15.88 kB / 0.5344 GB, free: 8.309 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.331, allocations: 156.4 kB / 0.5346 GB, free: 8.195 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.331, allocations: 0 / 0.5346 GB, free: 8.195 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005774/0.3316, allocations: 81.34 kB / 0.5347 GB, free: 8.184 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001252/0.3317, allocations: 111.9 kB / 0.5348 GB, free: 8.082 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004495/0.3322, allocations: 285.4 kB / 0.535 GB, free: 7.965 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.3322, allocations: 3.812 kB / 0.535 GB, free: 7.965 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.3324, allocations: 126.9 kB / 0.5352 GB, free: 7.914 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008481/0.3332, allocations: 73.16 kB / 0.5352 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.3351, allocations: 1.274 MB / 0.5365 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.3354, allocations: 0.7847 MB / 0.5373 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.3355, allocations: 30.78 kB / 0.5373 GB, free: 6.094 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3355, allocations: 0 / 0.5373 GB, free: 6.094 MB / 398.1 MB Notification: Performance of Templates: time 0.006097/0.3416, allocations: 3.967 MB / 0.5412 GB, free: 4.004 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches