Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 95.81 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002169/0.002169, allocations: 174.1 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.97/1.97, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.403/0.403, allocations: 43.55 MB / 314.5 MB, free: 8.836 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005723/0.000573, allocations: 16 kB / 384 MB, free: 7.945 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1335, allocations: 58.84 MB / 442.8 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.00328/0.1368, allocations: 2.224 MB / 445.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.1386, allocations: 0.9442 MB / 446 MB, free: 9.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.1388, allocations: 11.94 kB / 446 MB, free: 9.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.955e-05/0.1389, allocations: 35.69 kB / 446 MB, free: 9.762 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003784/0.1392, allocations: 119.7 kB / 446.2 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.1398, allocations: 119.7 kB / 446.3 MB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005881/0.1404, allocations: 271.3 kB / 446.5 MB, free: 9.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.1406, allocations: 73.67 kB / 446.6 MB, free: 9.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.1408, allocations: 119.6 kB / 446.7 MB, free: 9.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.141, allocations: 139.4 kB / 446.9 MB, free: 8.941 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.1411, allocations: 16 kB / 446.9 MB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.1412, allocations: 32 kB / 446.9 MB, free: 8.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.1412, allocations: 51.77 kB / 447 MB, free: 8.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.428e-05/0.1413, allocations: 81.58 kB / 447 MB, free: 8.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.1416, allocations: 263.5 kB / 447.3 MB, free: 8.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1416, allocations: 0 / 447.3 MB, free: 8.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1417, allocations: 0 / 447.3 MB, free: 8.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.1417, allocations: 0 / 447.3 MB, free: 8.5 MB / 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.001019/0.1427, allocations: 0.5768 MB / 447.9 MB, free: 7.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.1428, allocations: 8.031 kB / 447.9 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.1429, allocations: 70.53 kB / 448 MB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002465/0.1431, allocations: 51.61 kB / 448 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.1435, allocations: 250.5 kB / 448.2 MB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.1435, allocations: 24.59 kB / 448.3 MB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.805e-05/0.1436, allocations: 39.89 kB / 448.3 MB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005656/0.1442, allocations: 294.7 kB / 448.6 MB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.1442, allocations: 8 kB / 448.6 MB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.1443, allocations: 15.95 kB / 448.6 MB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.1443, allocations: 8 kB / 448.6 MB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003447/0.1446, allocations: 192.4 kB / 448.8 MB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.1467, allocations: 1.297 MB / 450.1 MB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/0.1472, allocations: 329.2 kB / 450.4 MB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.1473, allocations: 12.14 kB / 450.4 MB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.1473, allocations: 38.55 kB / 450.5 MB, free: 5.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 1.773e-06/0.1473, allocations: 0 / 450.5 MB, free: 5.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002599/0.1499, allocations: 1.566 MB / 452.1 MB, free: 3.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.889e-05/0.15, allocations: 166.1 kB / 452.2 MB, free: 3.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.1503, allocations: 224.9 kB / 452.4 MB, free: 2.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.1503, allocations: 29.7 kB / 452.5 MB, free: 2.801 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.1504, allocations: 184.2 kB / 452.6 MB, free: 2.617 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.1506, allocations: 149.8 kB / 452.8 MB, free: 2.469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.908e-05/0.1507, allocations: 12 kB / 452.8 MB, free: 2.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.1509, allocations: 342.8 kB / 453.1 MB, free: 2.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.151, allocations: 93.08 kB / 453.2 MB, free: 2.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.1514, allocations: 240.2 kB / 453.5 MB, free: 1.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.1516, allocations: 136.2 kB / 453.6 MB, free: 1.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1516, allocations: 0 / 453.6 MB, free: 1.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006564/0.1523, allocations: 408.7 kB / 454 MB, free: 1.184 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.1523, allocations: 11.94 kB / 454 MB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.1524, allocations: 4 kB / 454 MB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.1524, allocations: 8 kB / 454 MB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/0.1528, allocations: 115.8 kB / 454.1 MB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/0.1529, allocations: 19.89 kB / 454.2 MB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.153, allocations: 20.36 kB / 454.2 MB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.1531, allocations: 27.94 kB / 454.2 MB, free: 0.9805 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001673/0.1533, allocations: 161.6 kB / 454.4 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.1534, allocations: 31.62 kB / 454.4 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.1536, allocations: 119.3 kB / 454.5 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.1536, allocations: 4 kB / 454.5 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.1537, allocations: 4 kB / 454.5 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.1537, allocations: 3.953 kB / 454.5 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2596/0.4133, allocations: 1.024 MB / 455.5 MB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.4133, allocations: 5.781 kB / 455.5 MB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004456/0.4138, allocations: 97.45 kB / 455.6 MB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/0.4138, allocations: 5.969 kB / 455.6 MB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/0.4138, allocations: 13.67 kB / 455.7 MB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.4138, allocations: 7.25 kB / 455.7 MB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.4138, allocations: 6.094 kB / 455.7 MB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007078/0.4146, allocations: 0.9588 MB / 456.6 MB, free: 44.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.478e-05/0.4147, allocations: 105.5 kB / 456.7 MB, free: 44.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/0.4147, allocations: 17.25 kB / 456.8 MB, free: 44.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/0.415, allocations: 13.25 kB / 456.8 MB, free: 44.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.4151, allocations: 35.81 kB / 456.8 MB, free: 44.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.4151, allocations: 12.78 kB / 456.8 MB, free: 44.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.4152, allocations: 153 kB / 457 MB, free: 44.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4152, allocations: 2.75 kB / 457 MB, free: 44.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005748/0.4158, allocations: 84.86 kB / 457 MB, free: 44.54 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008767/0.4167, allocations: 2.333 MB / 459.4 MB, free: 42.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004724/0.4172, allocations: 281.5 kB / 459.7 MB, free: 42.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4172, allocations: 2.594 kB / 459.7 MB, free: 42.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.4174, allocations: 127.7 kB / 459.8 MB, free: 42.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006967/0.4181, allocations: 68.64 kB / 459.8 MB, free: 42.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004455/0.4225, allocations: 5.597 MB / 465.4 MB, free: 38.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.4228, allocations: 0.7909 MB / 466.2 MB, free: 37.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001943/0.423, allocations: 43.94 kB / 466.3 MB, free: 37.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.4232, allocations: 107 kB / 466.4 MB, free: 37.37 MB / 382.1 MB Notification: Performance of SimCode: time 2.605e-06/0.4232, allocations: 2.844 kB / 466.4 MB, free: 37.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.444, allocations: 5.813 MB / 472.2 MB, free: 36.86 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.4443, allocations: 168.7 kB / 472.4 MB, free: 36.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.196, allocations: 0 / 472.4 MB, free: 36.62 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat does not exist to compare? outputFormat=mat