Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.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_trunk_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_trunk_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001415/0.001415, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2049/0.2049, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 76.44 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.106, allocations: 62.46 MB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004397/0.1104, allocations: 3.129 MB / 484.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.112, allocations: 1.079 MB / 485.7 MB, free: 292 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.1122, allocations: 4 kB / 485.7 MB, free: 288 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.1124, allocations: 67.31 kB / 485.7 MB, free: 220 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.1126, allocations: 126.9 kB / 485.9 MB, free: 92 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.1131, allocations: 171.5 kB / 486 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004587/0.1136, allocations: 469.9 kB / 486.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.1138, allocations: 120.4 kB / 486.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.114, allocations: 163.4 kB / 486.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.1142, allocations: 183.2 kB / 486.9 MB, free: 15 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.926e-05/0.1143, allocations: 32 kB / 487 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.1144, allocations: 55.97 kB / 487 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.336e-05/0.1145, allocations: 75.69 kB / 487.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.1147, allocations: 202.9 kB / 487.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004218/0.1151, allocations: 458.4 kB / 487.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1151, allocations: 0 / 487.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1152, allocations: 0 / 487.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1152, allocations: 0 / 487.8 MB, free: 14.19 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001098/0.1163, allocations: 0.6824 MB / 488.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1163, allocations: 11.97 kB / 488.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002902/0.1166, allocations: 64.44 kB / 488.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.117, allocations: 298.6 kB / 488.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.117, allocations: 29.38 kB / 488.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.729e-05/0.1171, allocations: 44.27 kB / 488.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005525/0.1177, allocations: 363.5 kB / 489.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/0.1177, allocations: 19.89 kB / 489.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.1178, allocations: 12 kB / 489.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.1178, allocations: 11.94 kB / 489.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004745/0.1183, allocations: 239.8 kB / 489.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.1202, allocations: 1.517 MB / 491 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006896/0.1209, allocations: 431.7 kB / 491.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.1212, allocations: 137.1 kB / 491.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.1212, allocations: 7.984 kB / 491.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.1212, allocations: 42.5 kB / 491.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.854e-06/0.1212, allocations: 4 kB / 491.6 MB, free: 10.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.003046/0.1243, allocations: 1.961 MB / 493.6 MB, free: 7.793 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.1244, allocations: 199.9 kB / 493.8 MB, free: 7.555 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.1247, allocations: 251 kB / 494 MB, free: 7.297 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.1247, allocations: 33.7 kB / 494.1 MB, free: 7.258 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.1248, allocations: 200.3 kB / 494.3 MB, free: 7.059 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.125, allocations: 181.4 kB / 494.4 MB, free: 6.879 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.1251, allocations: 98.25 kB / 494.5 MB, free: 6.777 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1253, allocations: 354.8 kB / 494.9 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.1255, allocations: 117.2 kB / 495 MB, free: 6.309 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/0.1258, allocations: 295.9 kB / 495.3 MB, free: 5.941 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005812/0.1264, allocations: 458 kB / 495.7 MB, free: 5.418 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1264, allocations: 4 kB / 495.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007701/0.1272, allocations: 496.5 kB / 496.2 MB, free: 4.922 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1272, allocations: 8 kB / 496.2 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.1273, allocations: 4 kB / 496.2 MB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.1273, allocations: 8.438 kB / 496.2 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004774/0.1278, allocations: 143.8 kB / 496.4 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/0.1278, allocations: 15.88 kB / 496.4 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.128, allocations: 23.98 kB / 496.4 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.1281, allocations: 27.94 kB / 496.4 MB, free: 4.695 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0001553/0.1282, allocations: 165.7 kB / 496.6 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.1284, allocations: 35.62 kB / 496.6 MB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.1286, allocations: 131.2 kB / 496.8 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1287, allocations: 8 kB / 496.8 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.1287, allocations: 7.938 kB / 496.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.1287, allocations: 4.078 kB / 496.8 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.1305, allocations: 1.241 MB / 498 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.1305, allocations: 8 kB / 498 MB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/0.1311, allocations: 116.1 kB / 498.2 MB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.891e-05/0.1311, allocations: 12.28 kB / 498.2 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.1312, allocations: 19.98 kB / 498.2 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.1312, allocations: 4 kB / 498.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.1312, allocations: 7.938 kB / 498.2 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009689/0.1321, allocations: 1.009 MB / 499.2 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/0.1322, allocations: 108.7 kB / 499.3 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.461e-05/0.1323, allocations: 15.98 kB / 499.3 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000388/0.1327, allocations: 16 kB / 499.3 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.332e-05/0.1328, allocations: 43.83 kB / 499.4 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.1328, allocations: 16 kB / 499.4 MB, free: 1.555 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001578/0.133, allocations: 182 kB / 499.6 MB, free: 1.375 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.133, allocations: 0 / 499.6 MB, free: 1.375 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006196/0.1336, allocations: 100 kB / 499.7 MB, free: 1.277 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,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 (49): * Single equations (assignments): 49 * 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.0001169/0.1337, allocations: 111.1 kB / 499.8 MB, free: 1.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005843/0.1343, allocations: 351.2 kB / 0.4884 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1343, allocations: 0 / 0.4884 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.1346, allocations: 168.9 kB / 0.4886 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009543/0.1356, allocations: 100.1 kB / 0.4887 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.1376, allocations: 1.463 MB / 0.4901 GB, free: 15.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.138, allocations: 0.8158 MB / 0.4909 GB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001717/0.1382, allocations: 51.33 kB / 0.4909 GB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.728e-05/0.1383, allocations: 31.44 kB / 0.491 GB, free: 14.1 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1383, allocations: 0 / 0.491 GB, free: 14.1 MB / 382.1 MB Notification: Performance of Templates: time 0.007472/0.1458, allocations: 3.86 MB / 0.4947 GB, free: 10.28 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches