Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007795/0.0007795, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008629/0.0008629, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002466/0.0002466, allocations: 4 kB / 306.8 MB, free: 1.273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1233, allocations: 51.49 MB / 358.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002427/0.1258, allocations: 2.087 MB / 360.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004575/0.1263, allocations: 251.1 kB / 360.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.1264, allocations: 7.938 kB / 360.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.1265, allocations: 27.77 kB / 360.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.1267, allocations: 71.39 kB / 360.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.1269, allocations: 51.88 kB / 360.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.1272, allocations: 298.6 kB / 361.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.1274, allocations: 86.64 kB / 361.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.1275, allocations: 99.59 kB / 361.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.1277, allocations: 115.5 kB / 361.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.1277, allocations: 12 kB / 361.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.801e-05/0.1278, allocations: 16 kB / 361.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.417e-05/0.1278, allocations: 43.78 kB / 361.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.717e-05/0.1279, allocations: 81.52 kB / 361.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.1282, allocations: 227.6 kB / 361.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1282, allocations: 0 / 361.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1282, allocations: 0 / 361.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.1282, allocations: 0 / 361.7 MB, free: 10.31 MB / 302.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.00076/0.129, allocations: 0.5301 MB / 362.3 MB, free: 9.734 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.129, allocations: 8.031 kB / 362.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.199e-05/0.1291, allocations: 58.55 kB / 362.3 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.1291, allocations: 31.7 kB / 362.4 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.1294, allocations: 246.5 kB / 362.6 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.1294, allocations: 20.56 kB / 362.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.1295, allocations: 31.94 kB / 362.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.1299, allocations: 254.5 kB / 362.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.1299, allocations: 7.906 kB / 362.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.13, allocations: 8 kB / 362.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.13, allocations: 8 kB / 362.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.1303, allocations: 179.8 kB / 363.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009643/0.1312, allocations: 0.7539 MB / 363.9 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.1316, allocations: 272.8 kB / 364.1 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.1318, allocations: 125.6 kB / 364.3 MB, free: 7.617 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.1318, allocations: 4 kB / 364.3 MB, free: 7.613 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1318, allocations: 38.56 kB / 364.3 MB, free: 7.566 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.322e-06/0.1319, allocations: 4 kB / 364.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002509/0.1344, allocations: 1.724 MB / 366 MB, free: 5.672 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.1344, allocations: 81.11 kB / 366.1 MB, free: 5.574 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.1346, allocations: 182.2 kB / 366.3 MB, free: 5.383 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.1346, allocations: 33.7 kB / 366.3 MB, free: 5.344 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.158e-05/0.1347, allocations: 144.6 kB / 366.5 MB, free: 5.195 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.1349, allocations: 173.5 kB / 366.6 MB, free: 5.023 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.906e-05/0.1349, allocations: 12 kB / 366.6 MB, free: 5.012 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.135, allocations: 334.8 kB / 367 MB, free: 4.676 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.1352, allocations: 101.1 kB / 367.1 MB, free: 4.578 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.1354, allocations: 153.5 kB / 367.2 MB, free: 4.414 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.1356, allocations: 132.2 kB / 367.3 MB, free: 4.289 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1356, allocations: 0 / 367.3 MB, free: 4.289 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004737/0.1361, allocations: 370.3 kB / 367.7 MB, free: 3.922 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1361, allocations: 7.938 kB / 367.7 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1361, allocations: 4 kB / 367.7 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1361, allocations: 0 / 367.7 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.1365, allocations: 103.9 kB / 367.8 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1365, allocations: 3.938 kB / 367.8 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.1366, allocations: 16 kB / 367.8 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.1367, allocations: 16 kB / 367.8 MB, free: 3.773 MB / 302.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.0001406/0.1368, allocations: 150.5 kB / 368 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.774e-05/0.1369, allocations: 31.67 kB / 368 MB, free: 3.586 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.286e-05/0.137, allocations: 41.86 kB / 368.1 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.137, allocations: 4 kB / 368.1 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.137, allocations: 0 / 368.1 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.137, allocations: 3.984 kB / 368.1 MB, free: 3.543 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.1382, allocations: 0.9521 MB / 369 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1382, allocations: 0 / 369 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003782/0.1386, allocations: 107.9 kB / 369.1 MB, free: 2.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.1386, allocations: 3.938 kB / 369.1 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.1386, allocations: 12 kB / 369.1 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.1387, allocations: 7.953 kB / 369.2 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1387, allocations: 0 / 369.2 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007703/0.1394, allocations: 0.6356 MB / 369.8 MB, free: 1.742 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/0.1395, allocations: 100.8 kB / 369.9 MB, free: 1.625 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.1396, allocations: 8 kB / 369.9 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.1397, allocations: 12 kB / 369.9 MB, free: 1.605 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.1398, allocations: 27.92 kB / 369.9 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.1398, allocations: 12 kB / 369.9 MB, free: 1.566 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.1399, allocations: 127.2 kB / 370.1 MB, free: 1.441 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1399, allocations: 0 / 370.1 MB, free: 1.441 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003624/0.1403, allocations: 84 kB / 370.2 MB, free: 1.359 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.001019/0.1413, allocations: 1.18 MB / 371.3 MB, free: 140 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1929/0.3342, allocations: 284.9 kB / 371.6 MB, free: 19.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.3343, allocations: 2.406 kB / 371.6 MB, free: 19.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003398/0.3346, allocations: 156.5 kB / 371.8 MB, free: 19.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008093/0.3354, allocations: 67.3 kB / 371.8 MB, free: 19.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003431/0.3389, allocations: 2.176 MB / 374 MB, free: 18.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.3391, allocations: 0.7755 MB / 374.8 MB, free: 17.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001713/0.3393, allocations: 33.23 kB / 374.8 MB, free: 17.74 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.3395, allocations: 96.11 kB / 374.9 MB, free: 17.73 MB / 302.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3395, allocations: 0 / 374.9 MB, free: 17.73 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.359, allocations: 5.529 MB / 380.4 MB, free: 17.37 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.3593, allocations: 201.6 kB / 380.6 MB, free: 17.13 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.168, allocations: 0 / 380.6 MB, free: 17.13 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat