Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sources,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sources,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 177.3 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.2 MB / 241 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008421/0.0008422, allocations: 97.47 kB / 292.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3818/0.3818, allocations: 44.21 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003898, allocations: 15.98 kB / 460 MB, free: 1.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4417/0.4421, allocations: 61.89 MB / 0.5096 GB, free: 37.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/0.5816, allocations: 89.47 MB / 0.597 GB, free: 5.645 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/0.582, allocations: 79.92 kB / 0.5971 GB, free: 5.574 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01992/0.6019, allocations: 7.212 MB / 0.6041 GB, free: 14.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.982e-06/0.602, allocations: 0 / 0.6041 GB, free: 14.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.602, allocations: 15.94 kB / 0.6041 GB, free: 14.32 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001137/0.6031, allocations: 0.6198 MB / 0.6047 GB, free: 13.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.6032, allocations: 8.031 kB / 0.6048 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.731e-05/0.6033, allocations: 74.53 kB / 0.6048 GB, free: 13.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.206e-05/0.6034, allocations: 43.52 kB / 0.6049 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/0.6038, allocations: 264.6 kB / 0.6051 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.6039, allocations: 25 kB / 0.6051 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.032e-05/0.6039, allocations: 35.95 kB / 0.6052 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007128/0.6046, allocations: 362.7 kB / 0.6055 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.6047, allocations: 3.938 kB / 0.6055 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.407e-05/0.6047, allocations: 16 kB / 0.6055 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.6047, allocations: 8 kB / 0.6055 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006421/0.6054, allocations: 288.9 kB / 0.6058 GB, free: 12.47 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/0.6074, allocations: 1.3 MB / 0.6071 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004881/0.6079, allocations: 198.5 kB / 0.6073 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.6079, allocations: 4.062 kB / 0.6073 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.6079, allocations: 42.75 kB / 0.6073 GB, free: 10.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.6079, allocations: 0 / 0.6073 GB, free: 10.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008476/0.6088, allocations: 285.5 kB / 0.6076 GB, free: 10.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.677e-05/0.6089, allocations: 132.5 kB / 0.6077 GB, free: 10.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.6093, allocations: 291.6 kB / 0.608 GB, free: 10.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.6093, allocations: 29.7 kB / 0.608 GB, free: 10.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.6095, allocations: 235.6 kB / 0.6083 GB, free: 9.797 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.848e-05/0.6096, allocations: 55.33 kB / 0.6083 GB, free: 9.742 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.474e-05/0.6096, allocations: 8 kB / 0.6083 GB, free: 9.734 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.6097, allocations: 338.8 kB / 0.6086 GB, free: 9.395 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.61, allocations: 84.52 kB / 0.6087 GB, free: 9.309 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.6103, allocations: 180.2 kB / 0.6089 GB, free: 9.094 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.6106, allocations: 107.9 kB / 0.609 GB, free: 8.988 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6106, allocations: 0 / 0.609 GB, free: 8.988 MB / 426.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00071/0.6113, allocations: 328.9 kB / 0.6093 GB, free: 8.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.6114, allocations: 4 kB / 0.6093 GB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.6114, allocations: 7.938 kB / 0.6093 GB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.6114, allocations: 8.203 kB / 0.6093 GB, free: 8.641 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.6118, allocations: 83.83 kB / 0.6094 GB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.6118, allocations: 7.938 kB / 0.6094 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.6121, allocations: 55.58 kB / 0.6095 GB, free: 8.496 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.6121, allocations: 8 kB / 0.6095 GB, free: 8.488 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * 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.0001885/0.6123, allocations: 158.2 kB / 0.6096 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.6124, allocations: 27.62 kB / 0.6097 GB, free: 8.297 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.659e-05/0.6125, allocations: 34.41 kB / 0.6097 GB, free: 8.258 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.6125, allocations: 3.953 kB / 0.6097 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.6125, allocations: 4 kB / 0.6097 GB, free: 8.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.6125, allocations: 0 / 0.6097 GB, free: 8.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00081/0.6134, allocations: 0.5876 MB / 0.6103 GB, free: 7.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.6134, allocations: 4 kB / 0.6103 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.6136, allocations: 44.19 kB / 0.6103 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.6136, allocations: 4 kB / 0.6103 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.6136, allocations: 4 kB / 0.6103 GB, free: 7.535 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.6136, allocations: 8.141 kB / 0.6103 GB, free: 7.527 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6136, allocations: 8 kB / 0.6103 GB, free: 7.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006286/0.6143, allocations: 486 kB / 0.6108 GB, free: 6.977 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.12e-05/0.6144, allocations: 112.7 kB / 0.6109 GB, free: 6.848 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.6144, allocations: 4 kB / 0.6109 GB, free: 6.844 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.6147, allocations: 31.97 kB / 0.6109 GB, free: 6.812 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.6147, allocations: 15.98 kB / 0.611 GB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.6148, allocations: 4 kB / 0.611 GB, free: 6.793 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002263/0.615, allocations: 223.1 kB / 0.6112 GB, free: 6.574 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.615, allocations: 0 / 0.6112 GB, free: 6.574 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004054/0.6154, allocations: 71.78 kB / 0.6112 GB, free: 6.504 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (15): * Single equations (assignments): 15 * 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.001188/0.6166, allocations: 1.44 MB / 0.6126 GB, free: 5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000574/0.6172, allocations: 216.8 kB / 0.6129 GB, free: 4.789 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6172, allocations: 4.125 kB / 0.6129 GB, free: 4.785 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.6174, allocations: 79.89 kB / 0.6129 GB, free: 4.707 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.6178, allocations: 27.25 kB / 0.613 GB, free: 4.684 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.6219, allocations: 3.551 MB / 0.6164 GB, free: 1.012 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004726/0.6224, allocations: 0.7839 MB / 0.6172 GB, free: 208 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001381/0.6226, allocations: 17.95 kB / 0.6172 GB, free: 188 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.6227, allocations: 103.4 kB / 0.6173 GB, free: 84 kB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.6228, allocations: 7.938 kB / 0.6173 GB, free: 76 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.642, allocations: 4.456 MB / 0.6217 GB, free: 11.75 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/0.6423, allocations: 167.6 kB / 0.6218 GB, free: 11.51 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.095/2.738, allocations: 0 / 0.6218 GB, free: 11.51 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sources_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sources.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat does not exist to compare? outputFormat=mat