Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001313, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2295/0.2295, allocations: 46.11 MB / 344.2 MB, free: 11.59 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 84.34 kB / 417.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1177, allocations: 62.44 MB / 480.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004778/0.1225, allocations: 3.148 MB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.1252, allocations: 1.079 MB / 484.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002665/0.1255, allocations: 7.938 kB / 484.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.1258, allocations: 63.31 kB / 484.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.1261, allocations: 126.9 kB / 484.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006116/0.1267, allocations: 179.5 kB / 484.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005353/0.1273, allocations: 453.9 kB / 485.2 MB, free: 116 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002618/0.1275, allocations: 128.4 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.1277, allocations: 159.4 kB / 485.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.128, allocations: 191 kB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.441e-05/0.1281, allocations: 32 kB / 485.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.1282, allocations: 51.98 kB / 485.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.862e-05/0.1283, allocations: 71.77 kB / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.1286, allocations: 203 kB / 486 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005063/0.1291, allocations: 454.6 kB / 486.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1291, allocations: 4 kB / 486.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1291, allocations: 0 / 486.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1291, allocations: 0 / 486.5 MB, free: 14.84 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.00118/0.1303, allocations: 0.6862 MB / 487.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1303, allocations: 8.031 kB / 487.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.427e-05/0.1304, allocations: 74.72 kB / 487.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002904/0.1307, allocations: 64.44 kB / 487.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.1311, allocations: 290.5 kB / 487.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/0.1311, allocations: 29.38 kB / 487.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.034e-05/0.1312, allocations: 48.11 kB / 487.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006213/0.1318, allocations: 359.6 kB / 488 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.1319, allocations: 11.89 kB / 488 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.1319, allocations: 12 kB / 488.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.1319, allocations: 8 kB / 488.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004955/0.1324, allocations: 255.4 kB / 488.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/0.1347, allocations: 1.525 MB / 489.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007917/0.1355, allocations: 423.8 kB / 490.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.1357, allocations: 137.1 kB / 490.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.1358, allocations: 7.984 kB / 490.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.1358, allocations: 46.5 kB / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.004e-06/0.1358, allocations: 0 / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.003491/0.1393, allocations: 1.965 MB / 492.4 MB, free: 8.363 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.1395, allocations: 199.8 kB / 492.6 MB, free: 8.125 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.1398, allocations: 251 kB / 492.8 MB, free: 7.867 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.1398, allocations: 33.7 kB / 492.9 MB, free: 7.828 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.14, allocations: 196.4 kB / 493.1 MB, free: 7.633 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.1401, allocations: 185.4 kB / 493.3 MB, free: 7.449 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.1403, allocations: 106.2 kB / 493.4 MB, free: 7.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1405, allocations: 346.8 kB / 493.7 MB, free: 6.992 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.1407, allocations: 113.3 kB / 493.8 MB, free: 6.883 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/0.1412, allocations: 296 kB / 494.1 MB, free: 6.516 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007618/0.1419, allocations: 465 kB / 494.5 MB, free: 5.984 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.142, allocations: 0 / 494.5 MB, free: 5.984 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008946/0.1429, allocations: 0.4895 MB / 495 MB, free: 5.488 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.1429, allocations: 8 kB / 495 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.1429, allocations: 4 kB / 495 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.143, allocations: 12 kB / 495.1 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005442/0.1435, allocations: 139.8 kB / 495.2 MB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/0.1435, allocations: 11.94 kB / 495.2 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.1438, allocations: 23.98 kB / 495.2 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/0.1438, allocations: 28 kB / 495.3 MB, free: 5.266 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.000233/0.1441, allocations: 173.7 kB / 495.4 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.1442, allocations: 35.53 kB / 495.5 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.1445, allocations: 127.3 kB / 495.6 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.1445, allocations: 8 kB / 495.6 MB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.1445, allocations: 3.938 kB / 495.6 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.1446, allocations: 3.984 kB / 495.6 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/0.1466, allocations: 1.245 MB / 496.8 MB, free: 3.566 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.1466, allocations: 7.938 kB / 496.9 MB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005213/0.1471, allocations: 111.9 kB / 497 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.1471, allocations: 8 kB / 497 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.1472, allocations: 19.98 kB / 497 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.718e-06/0.1472, allocations: 8.125 kB / 497 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.1472, allocations: 4 kB / 497 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.1485, allocations: 1.014 MB / 498 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/0.1486, allocations: 108.7 kB / 498.1 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.1487, allocations: 19.98 kB / 498.1 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.1491, allocations: 12 kB / 498.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-05/0.1491, allocations: 43.83 kB / 498.2 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.1492, allocations: 16 kB / 498.2 MB, free: 2.129 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001831/0.1494, allocations: 182 kB / 498.4 MB, free: 1.949 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1494, allocations: 0 / 498.4 MB, free: 1.949 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000644/0.15, allocations: 104 kB / 498.5 MB, free: 1.848 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.001481/0.1515, allocations: 1.555 MB / 0.4883 GB, free: 244 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007472/0.1523, allocations: 363.5 kB / 0.4887 GB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1523, allocations: 4.125 kB / 0.4887 GB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.1526, allocations: 171.6 kB / 0.4888 GB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.1536, allocations: 88.23 kB / 0.4889 GB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006494/0.1602, allocations: 4.656 MB / 0.4935 GB, free: 10.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.1607, allocations: 0.8083 MB / 0.4943 GB, free: 9.832 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002313/0.1609, allocations: 55.27 kB / 0.4943 GB, free: 9.773 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.1611, allocations: 127.4 kB / 0.4944 GB, free: 9.648 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1612, allocations: 11.94 kB / 0.4945 GB, free: 9.637 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03372/0.1949, allocations: 7.582 MB / 0.5019 GB, free: 2.164 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.142/8.337, allocations: 1.078 kB / 0.5019 GB, free: 2.164 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe 2>&1)