Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",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.0009927/0.0009926, allocations: 88.39 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001049, allocations: 183.1 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 223.3 MB / 241.2 MB, free: 5.176 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002627/0.0002629, allocations: 7.703 kB / 300.9 MB, free: 5.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1122, allocations: 50.42 MB / 351.3 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002311/0.1145, allocations: 2.08 MB / 353.4 MB, free: 9.137 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004424/0.115, allocations: 251.1 kB / 353.7 MB, free: 8.891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.949e-05/0.1151, allocations: 7.938 kB / 353.7 MB, free: 8.883 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.1152, allocations: 31.77 kB / 353.7 MB, free: 8.852 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.1154, allocations: 75.39 kB / 353.8 MB, free: 8.777 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.1155, allocations: 51.88 kB / 353.8 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.1158, allocations: 290.6 kB / 354.1 MB, free: 8.441 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.116, allocations: 81.69 kB / 354.2 MB, free: 8.359 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.785e-05/0.1161, allocations: 99.53 kB / 354.3 MB, free: 8.262 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.1163, allocations: 115.5 kB / 354.4 MB, free: 8.148 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.1163, allocations: 16 kB / 354.4 MB, free: 8.133 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.376e-05/0.1163, allocations: 12 kB / 354.4 MB, free: 8.121 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.741e-05/0.1164, allocations: 43.78 kB / 354.5 MB, free: 8.078 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.1164, allocations: 73.58 kB / 354.5 MB, free: 8 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.1166, allocations: 227.3 kB / 354.8 MB, free: 7.777 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1167, allocations: 4 kB / 354.8 MB, free: 7.773 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1167, allocations: 0 / 354.8 MB, free: 7.773 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1167, allocations: 4 kB / 354.8 MB, free: 7.77 MB / 286.1 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.0006696/0.1174, allocations: 0.5261 MB / 355.3 MB, free: 7.195 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1174, allocations: 12.03 kB / 355.3 MB, free: 7.184 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.629e-05/0.1175, allocations: 62.55 kB / 355.4 MB, free: 7.113 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.1175, allocations: 31.67 kB / 355.4 MB, free: 7.082 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.1178, allocations: 246.5 kB / 355.6 MB, free: 6.801 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.1178, allocations: 20.5 kB / 355.7 MB, free: 6.781 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.1179, allocations: 28 kB / 355.7 MB, free: 6.754 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003942/0.1183, allocations: 246.6 kB / 355.9 MB, free: 6.504 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.1183, allocations: 4 kB / 355.9 MB, free: 6.5 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.1183, allocations: 12 kB / 355.9 MB, free: 6.488 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.1183, allocations: 11.95 kB / 355.9 MB, free: 6.477 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.1186, allocations: 179.8 kB / 356.1 MB, free: 6.301 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.1196, allocations: 0.7459 MB / 356.9 MB, free: 5.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.12, allocations: 271.4 kB / 357.1 MB, free: 5.219 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.1202, allocations: 125.6 kB / 357.3 MB, free: 5.09 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1202, allocations: 7.984 kB / 357.3 MB, free: 5.082 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.1202, allocations: 34.56 kB / 357.3 MB, free: 5.039 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 3.577e-06/0.1202, allocations: 3.984 kB / 357.3 MB, free: 5.035 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.002373/0.1226, allocations: 1.727 MB / 359 MB, free: 3.137 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.1227, allocations: 85.11 kB / 359.1 MB, free: 3.035 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.1228, allocations: 182.1 kB / 359.3 MB, free: 2.844 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.1229, allocations: 33.7 kB / 359.3 MB, free: 2.805 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.303e-05/0.123, allocations: 140.7 kB / 359.5 MB, free: 2.66 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.1231, allocations: 173.4 kB / 359.6 MB, free: 2.488 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.579e-05/0.1231, allocations: 8 kB / 359.6 MB, free: 2.48 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1232, allocations: 346.8 kB / 360 MB, free: 2.133 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.1234, allocations: 105 kB / 360.1 MB, free: 2.031 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.1236, allocations: 153.5 kB / 360.2 MB, free: 1.863 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.1238, allocations: 130.3 kB / 360.4 MB, free: 1.738 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1238, allocations: 0 / 360.4 MB, free: 1.738 MB / 286.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004729/0.1243, allocations: 370.5 kB / 360.7 MB, free: 1.371 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1243, allocations: 4 kB / 360.7 MB, free: 1.367 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1243, allocations: 0 / 360.7 MB, free: 1.367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1243, allocations: 4 kB / 360.7 MB, free: 1.363 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/0.1247, allocations: 99.89 kB / 360.8 MB, free: 1.266 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.1247, allocations: 11.89 kB / 360.8 MB, free: 1.254 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.1248, allocations: 12 kB / 360.8 MB, free: 1.242 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.1249, allocations: 12 kB / 360.9 MB, free: 1.23 MB / 286.1 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.0001448/0.125, allocations: 153.8 kB / 361 MB, free: 1.07 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.1251, allocations: 23.72 kB / 361 MB, free: 1.047 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.86e-05/0.1252, allocations: 41.86 kB / 361.1 MB, free: 1.012 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1252, allocations: 8 kB / 361.1 MB, free: 1.004 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.1252, allocations: 0 / 361.1 MB, free: 1.004 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.1252, allocations: 3.953 kB / 361.1 MB, free: 1 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.1264, allocations: 0.9537 MB / 362 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1264, allocations: 3.938 kB / 362 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/0.1268, allocations: 99.83 kB / 362.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.1268, allocations: 4 kB / 362.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.1269, allocations: 12.06 kB / 362.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1269, allocations: 4 kB / 362.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1269, allocations: 0 / 362.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007344/0.1276, allocations: 0.6356 MB / 362.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/0.1277, allocations: 100.8 kB / 362.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.1277, allocations: 15.98 kB / 362.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.1279, allocations: 12 kB / 362.9 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.1279, allocations: 27.97 kB / 362.9 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.128, allocations: 8 kB / 363 MB, free: 15.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.268e-05/0.1281, allocations: 136.3 kB / 363.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1281, allocations: 0 / 363.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003599/0.1284, allocations: 79.95 kB / 363.2 MB, free: 14.81 MB / 302.1 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.0009669/0.1294, allocations: 1.188 MB / 364.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004272/0.1299, allocations: 287.8 kB / 364.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1299, allocations: 4.125 kB / 364.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.1301, allocations: 162.9 kB / 364.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005472/0.1306, allocations: 62.28 kB / 364.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.1334, allocations: 2.172 MB / 367 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.1337, allocations: 0.7728 MB / 367.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.1339, allocations: 34.95 kB / 367.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.134, allocations: 95.41 kB / 367.9 MB, free: 9.914 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.134, allocations: 0 / 367.9 MB, free: 9.914 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.1497, allocations: 5.528 MB / 373.5 MB, free: 4.559 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.15, allocations: 195.5 kB / 373.7 MB, free: 4.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/1.941, allocations: 1.547 kB / 373.7 MB, free: 4.32 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat