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.0008703/0.00087, allocations: 96.7 kB / 15.7 MB, free: 468 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.0009354/0.0009354, allocations: 172.7 kB / 16.58 MB, free: 6.848 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.472/1.472, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.3874/0.3874, allocations: 43.55 MB / 314.6 MB, free: 9.055 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.0005092/0.0005093, allocations: 12 kB / 384 MB, free: 8.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1205, allocations: 58.85 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003114/0.1237, allocations: 2.352 MB / 445.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.1257, allocations: 0.9323 MB / 446.1 MB, free: 9.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002807/0.126, allocations: 8 kB / 446.2 MB, free: 9.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.1263, allocations: 43.62 kB / 446.2 MB, free: 9.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.1265, allocations: 83.3 kB / 446.3 MB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004971/0.127, allocations: 119.7 kB / 446.4 MB, free: 9.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000451/0.1275, allocations: 362.1 kB / 446.7 MB, free: 9.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.1277, allocations: 81.66 kB / 446.8 MB, free: 9.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.1279, allocations: 115.6 kB / 446.9 MB, free: 9.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.1281, allocations: 131.4 kB / 447.1 MB, free: 8.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.1281, allocations: 16 kB / 447.1 MB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1283, allocations: 39.98 kB / 447.1 MB, free: 8.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.987e-05/0.1283, allocations: 43.78 kB / 447.2 MB, free: 8.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.532e-05/0.1284, allocations: 89.5 kB / 447.3 MB, free: 8.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.1287, allocations: 271.4 kB / 447.5 MB, free: 8.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1287, allocations: 0 / 447.5 MB, free: 8.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1288, allocations: 0 / 447.5 MB, free: 8.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.1288, allocations: 0 / 447.5 MB, free: 8.508 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.0009281/0.1297, allocations: 0.5652 MB / 448.1 MB, free: 7.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.1298, allocations: 8.031 kB / 448.1 MB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.204e-05/0.1299, allocations: 70.47 kB / 448.2 MB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.1301, allocations: 51.61 kB / 448.2 MB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.1304, allocations: 258.5 kB / 448.5 MB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.1304, allocations: 20.66 kB / 448.5 MB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.568e-05/0.1305, allocations: 35.91 kB / 448.5 MB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004763/0.131, allocations: 302.7 kB / 448.8 MB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.131, allocations: 0 / 448.8 MB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.131, allocations: 15.95 kB / 448.8 MB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.131, allocations: 12 kB / 448.8 MB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003535/0.1314, allocations: 200.3 kB / 449 MB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.1333, allocations: 1.293 MB / 450.3 MB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005163/0.1338, allocations: 325.1 kB / 450.6 MB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.134, allocations: 108.6 kB / 450.8 MB, free: 5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.134, allocations: 7.938 kB / 450.8 MB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.1341, allocations: 46.5 kB / 450.8 MB, free: 4.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 2.294e-06/0.1341, allocations: 0 / 450.8 MB, free: 4.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002288/0.1364, allocations: 1.578 MB / 452.4 MB, free: 3.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.1364, allocations: 162.2 kB / 452.5 MB, free: 2.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.1366, allocations: 216.9 kB / 452.8 MB, free: 2.727 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.1367, allocations: 37.7 kB / 452.8 MB, free: 2.684 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.692e-05/0.1368, allocations: 168.3 kB / 453 MB, free: 2.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.1369, allocations: 157.8 kB / 453.1 MB, free: 2.359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-05/0.1369, allocations: 8 kB / 453.1 MB, free: 2.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.137, allocations: 342.8 kB / 453.5 MB, free: 2.008 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.1372, allocations: 89.08 kB / 453.5 MB, free: 1.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.1374, allocations: 248.1 kB / 453.8 MB, free: 1.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.1376, allocations: 127.9 kB / 453.9 MB, free: 1.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1377, allocations: 4 kB / 453.9 MB, free: 1.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000621/0.1383, allocations: 409.7 kB / 454.3 MB, free: 1.078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1383, allocations: 8 kB / 454.3 MB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.1383, allocations: 4 kB / 454.3 MB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.1384, allocations: 8 kB / 454.3 MB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.1387, allocations: 119.8 kB / 454.4 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2e-05/0.1388, allocations: 16.44 kB / 454.5 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.139, allocations: 16.38 kB / 454.5 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.139, allocations: 24 kB / 454.5 MB, free: 0.8867 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.000149/0.1392, allocations: 161.6 kB / 454.7 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.1393, allocations: 35.61 kB / 454.7 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.1395, allocations: 115.3 kB / 454.8 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.1395, allocations: 8.094 kB / 454.8 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.1395, allocations: 3.938 kB / 454.8 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.1396, allocations: 11.94 kB / 454.8 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2121/0.3517, allocations: 1.025 MB / 455.9 MB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.3517, allocations: 2.844 kB / 455.9 MB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/0.3522, allocations: 102.9 kB / 456 MB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.3522, allocations: 5.344 kB / 456 MB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.3522, allocations: 11.41 kB / 456 MB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.3523, allocations: 6.344 kB / 456 MB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3523, allocations: 2.719 kB / 456 MB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006472/0.3529, allocations: 0.8246 MB / 456.8 MB, free: 44.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.118e-05/0.353, allocations: 107.9 kB / 456.9 MB, free: 44.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.3531, allocations: 14.44 kB / 456.9 MB, free: 44.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.3534, allocations: 18.97 kB / 456.9 MB, free: 44.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.3535, allocations: 30.62 kB / 457 MB, free: 44.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.3535, allocations: 12.44 kB / 457 MB, free: 44.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.3536, allocations: 155.5 kB / 457.1 MB, free: 44.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3536, allocations: 0 / 457.1 MB, free: 44.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006059/0.3542, allocations: 80.47 kB / 457.2 MB, free: 44.23 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.0007929/0.355, allocations: 1.373 MB / 458.6 MB, free: 43.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000433/0.3555, allocations: 276.8 kB / 458.9 MB, free: 43.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3555, allocations: 0 / 458.9 MB, free: 43.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.3556, allocations: 132.8 kB / 459 MB, free: 43.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008402/0.3565, allocations: 76.12 kB / 459.1 MB, free: 43.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/0.3597, allocations: 2.604 MB / 461.7 MB, free: 41.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.3599, allocations: 0.7846 MB / 462.5 MB, free: 41.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001866/0.3601, allocations: 41.91 kB / 462.5 MB, free: 41.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.3603, allocations: 108.3 kB / 462.6 MB, free: 41.04 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.3603, allocations: 0 / 462.6 MB, free: 41.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.3795, allocations: 5.83 MB / 468.4 MB, free: 40.53 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001499/0.3797, allocations: 174.8 kB / 468.6 MB, free: 40.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.099, allocations: 2.969 kB / 468.6 MB, free: 40.29 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