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.001075/0.001075, allocations: 94.55 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.7 MB / 247.5 MB, free: 9.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1912/0.1912, allocations: 46.18 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002567/0.0002568, allocations: 8 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1108, allocations: 63.56 MB / 483.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003154/0.114, allocations: 2.801 MB / 486.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.116, allocations: 1.063 MB / 487.6 MB, free: 264 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002848/0.1163, allocations: 11.94 kB / 487.6 MB, free: 252 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.1165, allocations: 39.62 kB / 487.6 MB, free: 212 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.1168, allocations: 111.1 kB / 487.7 MB, free: 100 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005762/0.1174, allocations: 155.6 kB / 487.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005119/0.1179, allocations: 437.9 kB / 488.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.1181, allocations: 102 kB / 488.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.1184, allocations: 147.4 kB / 488.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.1186, allocations: 171.2 kB / 488.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.171e-05/0.1187, allocations: 20 kB / 488.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.1188, allocations: 35.98 kB / 488.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.91e-05/0.1189, allocations: 67.69 kB / 488.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.1191, allocations: 208.7 kB / 489.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.1194, allocations: 327.3 kB / 489.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1194, allocations: 0 / 489.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1194, allocations: 0 / 489.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.1194, allocations: 0 / 489.4 MB, free: 14.45 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.001067/0.1205, allocations: 0.6357 MB / 490 MB, free: 13.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1206, allocations: 8.875 kB / 490 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000312/0.1209, allocations: 72.28 kB / 490.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.1212, allocations: 290.6 kB / 490.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.1213, allocations: 33.38 kB / 490.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.507e-05/0.1213, allocations: 36.38 kB / 490.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000602/0.1219, allocations: 367.5 kB / 490.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.57e-05/0.122, allocations: 15.89 kB / 490.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.122, allocations: 12 kB / 490.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.122, allocations: 8 kB / 490.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004933/0.1225, allocations: 259 kB / 491.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.1246, allocations: 1.521 MB / 492.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00068/0.1253, allocations: 423.4 kB / 493 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.1255, allocations: 137.7 kB / 493.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.1255, allocations: 19.91 kB / 493.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.1256, allocations: 38.56 kB / 493.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/0.1256, allocations: 0 / 493.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.003161/0.1288, allocations: 1.984 MB / 495.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.467e-05/0.1289, allocations: 191.9 kB / 495.4 MB, free: 7.832 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.1291, allocations: 251 kB / 495.6 MB, free: 7.578 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.1292, allocations: 37.7 kB / 495.7 MB, free: 7.535 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.1293, allocations: 204.3 kB / 495.9 MB, free: 7.332 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.1294, allocations: 177.4 kB / 496 MB, free: 7.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.1295, allocations: 49.7 kB / 496.1 MB, free: 7.102 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1296, allocations: 358.8 kB / 496.4 MB, free: 6.742 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.1299, allocations: 113.3 kB / 496.6 MB, free: 6.633 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/0.1302, allocations: 296 kB / 496.8 MB, free: 6.266 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006203/0.1308, allocations: 465.2 kB / 497.3 MB, free: 5.734 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.1309, allocations: 4 kB / 497.3 MB, free: 5.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000814/0.1317, allocations: 0.4971 MB / 497.8 MB, free: 5.227 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.1317, allocations: 6.188 kB / 497.8 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.1317, allocations: 8 kB / 497.8 MB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.1318, allocations: 8 kB / 497.8 MB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004709/0.1322, allocations: 143.8 kB / 498 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.1323, allocations: 11.94 kB / 498 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.1325, allocations: 31.83 kB / 498 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.1326, allocations: 28.22 kB / 498 MB, free: 4.996 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.0001779/0.1328, allocations: 173.6 kB / 498.2 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.1329, allocations: 35.62 kB / 498.2 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.1332, allocations: 123.3 kB / 498.4 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.1332, allocations: 8 kB / 498.4 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.1332, allocations: 3.938 kB / 498.4 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.1332, allocations: 7.984 kB / 498.4 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.1351, allocations: 1.253 MB / 499.6 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.1351, allocations: 7.984 kB / 499.6 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005113/0.1356, allocations: 112.2 kB / 499.7 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.1356, allocations: 8 kB / 499.8 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.1357, allocations: 19.98 kB / 499.8 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/0.1357, allocations: 11.94 kB / 499.8 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1357, allocations: 4 kB / 499.8 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.1367, allocations: 1.001 MB / 0.4891 GB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.197e-05/0.1368, allocations: 116.6 kB / 0.4892 GB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.209e-05/0.1369, allocations: 15.98 kB / 0.4892 GB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.1372, allocations: 16 kB / 0.4892 GB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.1373, allocations: 39.89 kB / 0.4892 GB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.1374, allocations: 20 kB / 0.4893 GB, free: 1.848 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.1375, allocations: 178 kB / 0.4894 GB, free: 1.672 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1375, allocations: 0 / 0.4894 GB, free: 1.672 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006394/0.1382, allocations: 100 kB / 0.4895 GB, free: 1.574 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.000121/0.1383, allocations: 119.1 kB / 0.4896 GB, free: 1.449 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006432/0.1389, allocations: 351 kB / 0.49 GB, free: 1.105 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.139, allocations: 1.062 kB / 0.49 GB, free: 1.105 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002821/0.1393, allocations: 180 kB / 0.4901 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.1404, allocations: 86.06 kB / 0.4902 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.1428, allocations: 1.843 MB / 0.492 GB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.1432, allocations: 0.8083 MB / 0.4928 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.1433, allocations: 43.42 kB / 0.4929 GB, free: 14.05 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1433, allocations: 0 / 0.4929 GB, free: 14.05 MB / 382.1 MB Notification: Performance of Templates: time 0.007557/0.1509, allocations: 4.665 MB / 0.4974 GB, free: 9.395 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 -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