Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",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.001413/0.001413, allocations: 181.9 kB / 13.19 MB, free: 2.121 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.915/1.915, allocations: 205.2 MB / 218.9 MB, free: 9.137 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.0008676/0.0008676, allocations: 82.17 kB / 267 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3994/0.3994, allocations: 43.48 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.695e-05/3.697e-05, allocations: 0 / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1381, allocations: 58.84 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4616/0.5997, allocations: 89.92 MB / 0.5607 GB, free: 14.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001729/0.5999, allocations: 74.75 kB / 0.5608 GB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0143/0.6143, allocations: 5.605 MB / 0.5663 GB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.6143, allocations: 0 / 0.5663 GB, free: 10.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.025e-05/0.6143, allocations: 8 kB / 0.5663 GB, free: 10.84 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009226/0.6153, allocations: 0.6069 MB / 0.5669 GB, free: 10.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.6153, allocations: 12.03 kB / 0.5669 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.851e-05/0.6154, allocations: 74.41 kB / 0.5669 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.246e-05/0.6155, allocations: 45.5 kB / 0.567 GB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.6158, allocations: 275.2 kB / 0.5673 GB, free: 9.816 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.6159, allocations: 30.09 kB / 0.5673 GB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.341e-05/0.6159, allocations: 37.73 kB / 0.5673 GB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/0.6165, allocations: 324 kB / 0.5676 GB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.6165, allocations: 0 / 0.5676 GB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.6165, allocations: 19.06 kB / 0.5676 GB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.6166, allocations: 11.98 kB / 0.5677 GB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004398/0.617, allocations: 268.5 kB / 0.5679 GB, free: 9.363 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.6189, allocations: 1.356 MB / 0.5692 GB, free: 8.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.6193, allocations: 256.7 kB / 0.5695 GB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.6195, allocations: 146.6 kB / 0.5696 GB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.6195, allocations: 8.266 kB / 0.5696 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.6195, allocations: 38.16 kB / 0.5697 GB, free: 7.855 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 1.442e-06/0.6195, allocations: 0 / 0.5697 GB, free: 7.855 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004255/0.62, allocations: 260.5 kB / 0.5699 GB, free: 7.656 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.62, allocations: 51.41 kB / 0.57 GB, free: 7.594 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.6202, allocations: 238.6 kB / 0.5702 GB, free: 7.395 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.6202, allocations: 31.45 kB / 0.5702 GB, free: 7.363 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.6203, allocations: 202.7 kB / 0.5704 GB, free: 7.195 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.878e-05/0.6204, allocations: 119.6 kB / 0.5705 GB, free: 7.094 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/0.6204, allocations: 8.062 kB / 0.5705 GB, free: 7.094 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.345e-05/0.6205, allocations: 351.4 kB / 0.5709 GB, free: 6.754 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.6206, allocations: 84.12 kB / 0.5709 GB, free: 6.703 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.6208, allocations: 154.5 kB / 0.5711 GB, free: 6.566 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.621, allocations: 119.5 kB / 0.5712 GB, free: 6.488 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.621, allocations: 0 / 0.5712 GB, free: 6.488 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00044/0.6214, allocations: 324.1 kB / 0.5715 GB, free: 6.242 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.6215, allocations: 4 kB / 0.5715 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.6215, allocations: 20.19 kB / 0.5715 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.6215, allocations: 4 kB / 0.5715 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.622, allocations: 103.3 kB / 0.5716 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.622, allocations: 4 kB / 0.5716 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.6222, allocations: 50.58 kB / 0.5717 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.6223, allocations: 15.55 kB / 0.5717 GB, free: 6.059 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.019e-05/0.6224, allocations: 131.8 kB / 0.5718 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.6224, allocations: 27.62 kB / 0.5719 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004551/0.6229, allocations: 301.8 kB / 0.5722 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.6229, allocations: 4 kB / 0.5722 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.6229, allocations: 1.312 kB / 0.5722 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.6229, allocations: 0 / 0.5722 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003467/0.6233, allocations: 408.8 kB / 0.5725 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6233, allocations: 0 / 0.5725 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/0.6237, allocations: 91.56 kB / 0.5726 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.6237, allocations: 0 / 0.5726 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.6237, allocations: 11.56 kB / 0.5726 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.6237, allocations: 0 / 0.5726 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6237, allocations: 0 / 0.5726 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.6243, allocations: 481 kB / 0.5731 GB, free: 4.867 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.376e-05/0.6244, allocations: 140.4 kB / 0.5732 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.6244, allocations: 8.875 kB / 0.5732 GB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.6246, allocations: 18.75 kB / 0.5733 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.6247, allocations: 19.66 kB / 0.5733 GB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.6247, allocations: 19.55 kB / 0.5733 GB, free: 4.672 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001357/0.6249, allocations: 183.2 kB / 0.5735 GB, free: 4.523 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6249, allocations: 0 / 0.5735 GB, free: 4.523 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003187/0.6252, allocations: 89.09 kB / 0.5736 GB, free: 4.445 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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.0006848/0.6259, allocations: 1.026 MB / 0.5746 GB, free: 3.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003607/0.6263, allocations: 243.7 kB / 0.5748 GB, free: 3.348 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6263, allocations: 0 / 0.5748 GB, free: 3.348 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.6265, allocations: 122.7 kB / 0.5749 GB, free: 3.262 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.6267, allocations: 20.5 kB / 0.5749 GB, free: 3.254 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.6279, allocations: 0.6087 MB / 0.5755 GB, free: 2.668 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.6281, allocations: 0.7952 MB / 0.5763 GB, free: 1.848 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001961/0.6283, allocations: 46.88 kB / 0.5763 GB, free: 1.801 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.6285, allocations: 107.2 kB / 0.5764 GB, free: 1.77 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6285, allocations: 0 / 0.5764 GB, free: 1.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.6452, allocations: 5.152 MB / 0.5815 GB, free: 12.69 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/0.6455, allocations: 141 kB / 0.5816 GB, free: 12.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.682, allocations: 3.938 kB / 0.5816 GB, free: 12.46 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat does not exist to compare? outputFormat=mat