Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_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.0009613/0.0009613, allocations: 93.41 kB / 16.93 MB, free: 5.977 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.001067/0.001067, allocations: 180.9 kB / 17.82 MB, free: 5.645 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.479/1.479, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.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.0004607/0.0004608, allocations: 15.28 kB / 280.8 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09619/0.09666, allocations: 47.57 MB / 328.4 MB, free: 4.008 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002331/0.09905, allocations: 1.962 MB / 330.4 MB, free: 2.035 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000471/0.09955, allocations: 259.2 kB / 330.6 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.09968, allocations: 11.94 kB / 330.6 MB, free: 1.77 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.772e-05/0.09975, allocations: 39.69 kB / 330.7 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.09995, allocations: 103.7 kB / 330.8 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.1001, allocations: 43.94 kB / 330.8 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.1004, allocations: 215.6 kB / 331 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.1006, allocations: 89.64 kB / 331.1 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.777e-05/0.1007, allocations: 91.66 kB / 331.2 MB, free: 1.199 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.1009, allocations: 119.5 kB / 331.3 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.1009, allocations: 16 kB / 331.3 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.621e-05/0.101, allocations: 12 kB / 331.4 MB, free: 1.055 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.467e-05/0.101, allocations: 39.84 kB / 331.4 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.57e-05/0.1011, allocations: 77.58 kB / 331.5 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.1014, allocations: 231.6 kB / 331.7 MB, free: 0.707 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1014, allocations: 0 / 331.7 MB, free: 0.707 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1014, allocations: 0 / 331.7 MB, free: 0.707 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1014, allocations: 0 / 331.7 MB, free: 0.707 MB / 270.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.0008535/0.1023, allocations: 0.5301 MB / 332.2 MB, free: 132 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.1023, allocations: 8.031 kB / 332.2 MB, free: 124 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.268e-05/0.1024, allocations: 62.53 kB / 332.3 MB, free: 52 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.429e-05/0.1025, allocations: 31.62 kB / 332.3 MB, free: 20 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.1028, allocations: 238.6 kB / 332.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.1028, allocations: 24.52 kB / 332.6 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.447e-05/0.1029, allocations: 27.91 kB / 332.6 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.1033, allocations: 246.6 kB / 332.9 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.1033, allocations: 3.984 kB / 332.9 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.1034, allocations: 15.94 kB / 332.9 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.1034, allocations: 11.98 kB / 332.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.1037, allocations: 179.8 kB / 333.1 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.1047, allocations: 0.75 MB / 333.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.1051, allocations: 268.9 kB / 334.1 MB, free: 14.15 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.1051, allocations: 8 kB / 334.1 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.1052, allocations: 34.56 kB / 334.1 MB, free: 14.1 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 1.683e-06/0.1052, allocations: 3.938 kB / 334.1 MB, free: 14.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.002653/0.1078, allocations: 1.716 MB / 335.8 MB, free: 12.2 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.1079, allocations: 81.11 kB / 335.9 MB, free: 12.11 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.1081, allocations: 174.5 kB / 336.1 MB, free: 11.92 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.1082, allocations: 33.7 kB / 336.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.949e-05/0.1083, allocations: 140.6 kB / 336.3 MB, free: 11.74 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.1084, allocations: 169.5 kB / 336.4 MB, free: 11.57 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.876e-05/0.1084, allocations: 16 kB / 336.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1086, allocations: 338.8 kB / 336.8 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.1087, allocations: 101.1 kB / 336.9 MB, free: 11.12 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.109, allocations: 153.4 kB / 337 MB, free: 10.95 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.1092, allocations: 134.3 kB / 337.1 MB, free: 10.82 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1092, allocations: 0 / 337.1 MB, free: 10.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004978/0.1097, allocations: 366.3 kB / 337.5 MB, free: 10.46 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1097, allocations: 4 kB / 337.5 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1097, allocations: 0 / 337.5 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1097, allocations: 4 kB / 337.5 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004014/0.1101, allocations: 103.8 kB / 337.6 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.1101, allocations: 4 kB / 337.6 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.1103, allocations: 12 kB / 337.6 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.1103, allocations: 16 kB / 337.6 MB, free: 10.32 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.0001661/0.1105, allocations: 153.8 kB / 337.8 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-05/0.1105, allocations: 39.56 kB / 337.8 MB, free: 10.12 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.981e-05/0.1106, allocations: 37.88 kB / 337.9 MB, free: 10.08 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.1106, allocations: 4 kB / 337.9 MB, free: 10.08 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.1107, allocations: 0 / 337.9 MB, free: 10.08 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.1107, allocations: 7.922 kB / 337.9 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.112, allocations: 0.9439 MB / 338.8 MB, free: 9.062 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.112, allocations: 3.984 kB / 338.8 MB, free: 9.059 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/0.1124, allocations: 91.91 kB / 338.9 MB, free: 8.969 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.1124, allocations: 4 kB / 338.9 MB, free: 8.965 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.1124, allocations: 20.02 kB / 338.9 MB, free: 8.945 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.1125, allocations: 7.984 kB / 339 MB, free: 8.938 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1125, allocations: 3.938 kB / 339 MB, free: 8.934 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007642/0.1132, allocations: 0.6718 MB / 339.6 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.75e-05/0.1133, allocations: 104.7 kB / 339.7 MB, free: 8.094 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.1134, allocations: 8 kB / 339.7 MB, free: 8.086 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.1136, allocations: 12 kB / 339.7 MB, free: 8.074 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.1136, allocations: 27.95 kB / 339.8 MB, free: 8.047 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.1136, allocations: 8 kB / 339.8 MB, free: 8.039 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.1138, allocations: 132.3 kB / 339.9 MB, free: 7.91 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1138, allocations: 4 kB / 339.9 MB, free: 7.906 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004045/0.1142, allocations: 80 kB / 340 MB, free: 7.828 MB / 286.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.001187/0.1154, allocations: 1.431 MB / 341.4 MB, free: 6.355 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004877/0.1159, allocations: 291.1 kB / 341.7 MB, free: 6.07 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1159, allocations: 0 / 341.7 MB, free: 6.07 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.1161, allocations: 159.5 kB / 341.9 MB, free: 5.914 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005233/0.1166, allocations: 56.22 kB / 341.9 MB, free: 5.859 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.1197, allocations: 2.609 MB / 344.5 MB, free: 3.18 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.1201, allocations: 0.7809 MB / 345.3 MB, free: 2.367 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.1202, allocations: 30.97 kB / 345.3 MB, free: 2.336 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.1204, allocations: 99.41 kB / 345.4 MB, free: 2.238 MB / 286.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1204, allocations: 0 / 345.4 MB, free: 2.238 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.1369, allocations: 5.517 MB / 351 MB, free: 12.73 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003336/0.1373, allocations: 201.4 kB / 351.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/1.904, allocations: 3.938 kB / 351.2 MB, free: 12.48 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat