Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.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.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001025/0.001025, allocations: 96.62 kB / 17 MB, free: 6.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 200.2 kB / 17.91 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002549/0.000255, allocations: 8 kB / 306.8 MB, free: 1.488 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1201, allocations: 51.49 MB / 358.3 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002409/0.1226, allocations: 1.874 MB / 360.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003768/0.123, allocations: 199.3 kB / 360.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.697e-05/0.1231, allocations: 4 kB / 360.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.244e-05/0.1232, allocations: 27.83 kB / 360.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.1233, allocations: 55.55 kB / 360.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.1235, allocations: 35.97 kB / 360.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.1237, allocations: 227 kB / 360.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.1239, allocations: 89.84 kB / 360.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.124, allocations: 75.7 kB / 360.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.1242, allocations: 83.62 kB / 361 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.1242, allocations: 12 kB / 361 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.196e-05/0.1242, allocations: 12 kB / 361 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.524e-05/0.1243, allocations: 35.84 kB / 361 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.411e-05/0.1244, allocations: 65.64 kB / 361.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.1246, allocations: 195.6 kB / 361.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.1246, allocations: 0 / 361.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1246, allocations: 0 / 361.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1246, allocations: 4 kB / 361.3 MB, free: 11 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006238/0.1252, allocations: 471.2 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.1253, allocations: 12.03 kB / 361.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.015e-05/0.1254, allocations: 66.53 kB / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.1254, allocations: 27.72 kB / 361.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.1257, allocations: 210.7 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.1257, allocations: 16.56 kB / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.1257, allocations: 27.95 kB / 362.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.1261, allocations: 232.2 kB / 362.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.1262, allocations: 3.906 kB / 362.3 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.1262, allocations: 12 kB / 362.3 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.1262, allocations: 8 kB / 362.3 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002264/0.1264, allocations: 135.8 kB / 362.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.1276, allocations: 0.8595 MB / 363.3 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.1278, allocations: 159.7 kB / 363.5 MB, free: 8.586 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.025e-05/0.1279, allocations: 58.56 kB / 363.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.1279, allocations: 0 / 363.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.1279, allocations: 42.5 kB / 363.6 MB, free: 8.469 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.128, allocations: 0 / 363.6 MB, free: 8.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003703/0.1283, allocations: 173.6 kB / 363.8 MB, free: 8.293 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.1284, allocations: 102.8 kB / 363.9 MB, free: 8.168 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.1286, allocations: 198.1 kB / 364 MB, free: 7.965 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1286, allocations: 29.7 kB / 364.1 MB, free: 7.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.1287, allocations: 160 kB / 364.2 MB, free: 7.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.1288, allocations: 67.08 kB / 364.3 MB, free: 7.703 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/0.1288, allocations: 8 kB / 364.3 MB, free: 7.695 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1289, allocations: 322.8 kB / 364.6 MB, free: 7.371 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-05/0.129, allocations: 52.53 kB / 364.7 MB, free: 7.316 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.1292, allocations: 151.6 kB / 364.8 MB, free: 7.121 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.1293, allocations: 80.56 kB / 364.9 MB, free: 7.043 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.1293, allocations: 4 kB / 364.9 MB, free: 7.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003367/0.1297, allocations: 237.1 kB / 365.1 MB, free: 6.801 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1297, allocations: 4 kB / 365.1 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.1297, allocations: 8.391 kB / 365.1 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.1298, allocations: 12 kB / 365.2 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.13, allocations: 63.91 kB / 365.2 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.13, allocations: 7.938 kB / 365.2 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.1301, allocations: 27.69 kB / 365.3 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.1301, allocations: 12 kB / 365.3 MB, free: 6.668 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * 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.0001261/0.1303, allocations: 138.8 kB / 365.4 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.084e-05/0.1303, allocations: 27.7 kB / 365.4 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.596e-05/0.1304, allocations: 25.34 kB / 365.5 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1304, allocations: 7.953 kB / 365.5 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1304, allocations: 4 kB / 365.5 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1304, allocations: 3.984 kB / 365.5 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/0.1309, allocations: 412.9 kB / 365.9 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1309, allocations: 3.953 kB / 365.9 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.1311, allocations: 39.92 kB / 365.9 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1311, allocations: 4 kB / 365.9 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.1312, allocations: 12.03 kB / 365.9 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1312, allocations: 4 kB / 365.9 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.1312, allocations: 192 / 365.9 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.1316, allocations: 379 kB / 366.3 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.558e-05/0.1316, allocations: 108.8 kB / 366.4 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.1317, allocations: 8 kB / 366.4 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.1318, allocations: 4 kB / 366.4 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.1318, allocations: 8.031 kB / 366.4 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.1318, allocations: 8 kB / 366.4 MB, free: 5.383 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.132, allocations: 139.2 kB / 366.6 MB, free: 5.246 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.132, allocations: 0 / 366.6 MB, free: 5.246 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003527/0.1323, allocations: 55.84 kB / 366.6 MB, free: 5.191 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.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 (17): * Single equations (assignments): 17 * 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.0006104/0.1329, allocations: 0.9018 MB / 367.5 MB, free: 4.254 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.1332, allocations: 135.7 kB / 367.7 MB, free: 4.121 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.1332, allocations: 4 kB / 367.7 MB, free: 4.117 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.274e-05/0.1333, allocations: 55.91 kB / 367.7 MB, free: 4.062 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.1338, allocations: 36.42 kB / 367.8 MB, free: 4.031 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.1358, allocations: 1.418 MB / 369.2 MB, free: 2.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.1362, allocations: 0.7398 MB / 369.9 MB, free: 1.734 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.185e-05/0.1363, allocations: 17.95 kB / 369.9 MB, free: 1.719 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.914e-05/0.1364, allocations: 59.42 kB / 370 MB, free: 1.66 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1364, allocations: 0 / 370 MB, free: 1.66 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2132/0.3495, allocations: 3.342 MB / 373.3 MB, free: 18.72 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001308/0.3497, allocations: 186.9 kB / 373.5 MB, free: 18.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.152, allocations: 0 / 373.5 MB, free: 18.48 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat does not exist to compare? outputFormat=mat