Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.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.WhyArrows,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows",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.00119/0.00119, allocations: 172.5 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0009569/0.0009568, allocations: 98.62 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.169e-05/3.198e-05, allocations: 4 kB / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09645/0.0965, allocations: 47.57 MB / 370.1 MB, free: 1.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3226/0.4191, allocations: 75.49 MB / 445.6 MB, free: 1.738 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.4195, allocations: 66.2 kB / 445.7 MB, free: 1.703 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008841/0.4283, allocations: 3.459 MB / 449.1 MB, free: 14.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4284, allocations: 0 / 449.1 MB, free: 14.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.4284, allocations: 8 kB / 449.1 MB, free: 14.75 MB / 330.7 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.0006045/0.429, allocations: 461.9 kB / 449.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.4291, allocations: 8.031 kB / 449.6 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.467e-05/0.4292, allocations: 56.92 kB / 449.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.4292, allocations: 27.72 kB / 449.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.4294, allocations: 192.1 kB / 449.9 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.4294, allocations: 15.88 kB / 449.9 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.445e-05/0.4295, allocations: 31.11 kB / 449.9 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.4299, allocations: 225.6 kB / 450.1 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.4299, allocations: 0 / 450.1 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.4299, allocations: 11 kB / 450.1 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.4299, allocations: 4 kB / 450.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.4302, allocations: 128.4 kB / 450.3 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.4314, allocations: 0.8637 MB / 451.1 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.4316, allocations: 155.3 kB / 451.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.861e-05/0.4317, allocations: 59.14 kB / 451.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.4317, allocations: 4 kB / 451.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.4318, allocations: 42.48 kB / 451.4 MB, free: 12.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 2.805e-06/0.4318, allocations: 0 / 451.4 MB, free: 12.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003071/0.4321, allocations: 147 kB / 451.5 MB, free: 12.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.4322, allocations: 106.8 kB / 451.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.4323, allocations: 180.6 kB / 451.8 MB, free: 12.17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.4323, allocations: 25.7 kB / 451.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.4325, allocations: 154.1 kB / 452 MB, free: 12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.4325, allocations: 64.47 kB / 452.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/0.4325, allocations: 3.312 kB / 452.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4327, allocations: 329.5 kB / 452.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-05/0.4328, allocations: 45.5 kB / 452.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.4329, allocations: 156 kB / 452.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.4331, allocations: 71.14 kB / 452.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.4331, allocations: 0 / 452.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003392/0.4334, allocations: 239.7 kB / 452.9 MB, free: 11.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.4334, allocations: 8 kB / 452.9 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.4335, allocations: 4 kB / 452.9 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.4335, allocations: 7.953 kB / 452.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.4337, allocations: 58.92 kB / 453 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/0.4337, allocations: 15.86 kB / 453 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.4339, allocations: 27.06 kB / 453 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.4339, allocations: 15.19 kB / 453 MB, free: 11.04 MB / 330.7 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 () * 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 8.785e-05/0.434, allocations: 123.4 kB / 453.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.056e-05/0.4341, allocations: 23.56 kB / 453.2 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.219e-05/0.4341, allocations: 23.08 kB / 453.2 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4341, allocations: 0 / 453.2 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.4341, allocations: 7.953 kB / 453.2 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4341, allocations: 0 / 453.2 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.4346, allocations: 419.1 kB / 453.6 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4347, allocations: 0 / 453.6 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.4349, allocations: 43.91 kB / 453.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.4349, allocations: 7.953 kB / 453.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.4349, allocations: 3.25 kB / 453.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.4349, allocations: 4 kB / 453.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4349, allocations: 0 / 453.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.4353, allocations: 416.8 kB / 454.1 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-05/0.4354, allocations: 96.27 kB / 454.2 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.4355, allocations: 7.188 kB / 454.2 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.4356, allocations: 8 kB / 454.2 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.4356, allocations: 19.25 kB / 454.2 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.4356, allocations: 4 kB / 454.2 MB, free: 9.832 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001038/0.4358, allocations: 140.6 kB / 454.3 MB, free: 9.715 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4358, allocations: 0 / 454.3 MB, free: 9.715 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003187/0.4361, allocations: 51.28 kB / 454.4 MB, free: 9.668 MB / 330.7 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 () * 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.0007038/0.4368, allocations: 1.234 MB / 455.6 MB, free: 8.438 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.437, allocations: 133.9 kB / 455.7 MB, free: 8.336 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.437, allocations: 0 / 455.7 MB, free: 8.336 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.017e-05/0.4371, allocations: 52.25 kB / 455.8 MB, free: 8.297 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.4374, allocations: 27.08 kB / 455.8 MB, free: 8.281 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.4384, allocations: 0.5561 MB / 456.4 MB, free: 7.711 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.4387, allocations: 0.7441 MB / 457.1 MB, free: 6.938 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.461e-05/0.4388, allocations: 18.08 kB / 457.1 MB, free: 6.918 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.666e-05/0.4389, allocations: 61.91 kB / 457.2 MB, free: 6.895 MB / 330.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4389, allocations: 0 / 457.2 MB, free: 6.895 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.4527, allocations: 3.307 MB / 460.5 MB, free: 3.594 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.4529, allocations: 157.6 kB / 460.7 MB, free: 3.367 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/2.113, allocations: 64 / 460.7 MB, free: 3.367 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat does not exist to compare? outputFormat=mat