Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001593/0.001598, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 98.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003948, allocations: 8 kB / 327.1 MB, free: 15 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1058, allocations: 47.58 MB / 374.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.00472/0.1105, allocations: 1.949 MB / 376.6 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1117, allocations: 271.2 kB / 376.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002885/0.1121, allocations: 8 kB / 376.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.1122, allocations: 35.69 kB / 376.9 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004673/0.1127, allocations: 107.6 kB / 377 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.1131, allocations: 47.95 kB / 377 MB, free: 12.92 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000659/0.1138, allocations: 223.5 kB / 377.3 MB, free: 12.7 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003168/0.1141, allocations: 77.66 kB / 377.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002478/0.1144, allocations: 99.64 kB / 377.4 MB, free: 12.53 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002993/0.1147, allocations: 119.5 kB / 377.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.313e-05/0.1148, allocations: 12 kB / 377.6 MB, free: 12.4 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.612e-05/0.1149, allocations: 16 kB / 377.6 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.813e-05/0.115, allocations: 43.78 kB / 377.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.1151, allocations: 73.58 kB / 377.7 MB, free: 12.26 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004858/0.1156, allocations: 223.6 kB / 377.9 MB, free: 12.04 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1157, allocations: 0 / 377.9 MB, free: 12.04 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.1157, allocations: 0 / 377.9 MB, free: 12.04 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.1157, allocations: 4 kB / 377.9 MB, free: 12.04 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001528/0.1173, allocations: 0.5223 MB / 378.4 MB, free: 11.47 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.218e-05/0.1174, allocations: 12.03 kB / 378.4 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.1175, allocations: 62.55 kB / 378.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.1177, allocations: 35.61 kB / 378.5 MB, free: 11.35 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/0.1182, allocations: 242.6 kB / 378.8 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.457e-05/0.1183, allocations: 24.52 kB / 378.8 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.1184, allocations: 27.91 kB / 378.8 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009028/0.1193, allocations: 242.6 kB / 379.1 MB, free: 10.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.794e-05/0.1194, allocations: 4 kB / 379.1 MB, free: 10.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.349e-05/0.1195, allocations: 11.98 kB / 379.1 MB, free: 10.76 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/0.1195, allocations: 8 kB / 379.1 MB, free: 10.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007259/0.1202, allocations: 179.8 kB / 379.3 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/0.1226, allocations: 0.75 MB / 380 MB, free: 9.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009737/0.1236, allocations: 277 kB / 380.3 MB, free: 9.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.672e-05/0.1237, allocations: 11.94 kB / 380.3 MB, free: 9.469 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/0.1238, allocations: 34.56 kB / 380.3 MB, free: 9.426 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 8.757e-06/0.1238, allocations: 0 / 380.3 MB, free: 9.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.006496/0.1303, allocations: 1.716 MB / 382 MB, free: 7.535 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.535e-05/0.1305, allocations: 85.11 kB / 382.1 MB, free: 7.434 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.1309, allocations: 178.3 kB / 382.3 MB, free: 7.246 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-05/0.131, allocations: 33.7 kB / 382.3 MB, free: 7.207 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.1312, allocations: 199.1 kB / 382.5 MB, free: 7.008 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003027/0.1315, allocations: 173.5 kB / 382.7 MB, free: 6.836 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.1316, allocations: 8 kB / 382.7 MB, free: 6.828 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002204/0.1318, allocations: 330.8 kB / 383 MB, free: 6.496 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004928/0.1323, allocations: 109 kB / 383.1 MB, free: 6.391 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005928/0.133, allocations: 153.5 kB / 383.3 MB, free: 6.223 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000585/0.1336, allocations: 126.3 kB / 383.4 MB, free: 6.102 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.1336, allocations: 0 / 383.4 MB, free: 6.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001389/0.135, allocations: 362.5 kB / 383.8 MB, free: 5.742 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.64e-05/0.1351, allocations: 10.95 kB / 383.8 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.1351, allocations: 0 / 383.8 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.175e-05/0.1352, allocations: 4 kB / 383.8 MB, free: 5.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.1364, allocations: 99.97 kB / 383.9 MB, free: 5.633 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.683e-05/0.1365, allocations: 7.984 kB / 383.9 MB, free: 5.625 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.1369, allocations: 15.94 kB / 383.9 MB, free: 5.609 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-05/0.137, allocations: 8 kB / 383.9 MB, free: 5.602 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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.0003872/0.1374, allocations: 153.8 kB / 384.1 MB, free: 5.441 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.1376, allocations: 27.67 kB / 384.1 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.1377, allocations: 37.88 kB / 384.1 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.1378, allocations: 7.984 kB / 384.1 MB, free: 5.371 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.1378, allocations: 0 / 384.1 MB, free: 5.371 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.1378, allocations: 4 kB / 384.1 MB, free: 5.367 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00339/0.1412, allocations: 0.9555 MB / 385.1 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.1413, allocations: 0 / 385.1 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/0.1427, allocations: 95.83 kB / 385.2 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-05/0.1428, allocations: 4 kB / 385.2 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.489e-05/0.1429, allocations: 15.95 kB / 385.2 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-05/0.1429, allocations: 4 kB / 385.2 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.1429, allocations: 0 / 385.2 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/0.145, allocations: 0.672 MB / 385.9 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.1452, allocations: 104.7 kB / 386 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.1453, allocations: 15.98 kB / 386 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000475/0.1458, allocations: 8 kB / 386 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.146, allocations: 27.97 kB / 386 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.656e-05/0.146, allocations: 16 kB / 386.1 MB, free: 3.324 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002576/0.1463, allocations: 136.3 kB / 386.2 MB, free: 3.191 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.1463, allocations: 0 / 386.2 MB, free: 3.191 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009777/0.1473, allocations: 76 kB / 386.3 MB, free: 3.117 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.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 (48): * Single equations (assignments): 48 * 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.002635/0.15, allocations: 1.427 MB / 387.7 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.1513, allocations: 291.2 kB / 388 MB, free: 1.363 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.1514, allocations: 0 / 388 MB, free: 1.363 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005987/0.152, allocations: 163.5 kB / 388.1 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.1532, allocations: 55.88 kB / 388.2 MB, free: 1.148 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2747/0.4279, allocations: 2.631 MB / 390.8 MB, free: 19.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.4283, allocations: 0.7837 MB / 391.6 MB, free: 19.06 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.4286, allocations: 100.1 kB / 391.7 MB, free: 19.05 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.4286, allocations: 3.969 kB / 391.7 MB, free: 19.05 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.564/2.993, allocations: 4.837 MB / 396.5 MB, free: 18.82 MB / 282.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat