Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001083/0.001083, allocations: 198.3 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.2 MB / 245 MB, free: 5.77 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008872/0.0008872, allocations: 96.47 kB / 297.3 MB, free: 5.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4767/0.4767, allocations: 45.22 MB / 394.6 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003024/0.0003024, allocations: 8.219 kB / 468.5 MB, free: 7.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4015, allocations: 63.25 MB / 0.5193 GB, free: 37.63 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.5263, allocations: 87.98 MB / 0.6052 GB, free: 15.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.5265, allocations: 71.94 kB / 0.6053 GB, free: 15.37 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004562/0.5311, allocations: 1.756 MB / 0.607 GB, free: 13.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5311, allocations: 4 kB / 0.607 GB, free: 13.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.5312, allocations: 0 / 0.607 GB, free: 13.6 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005574/0.5317, allocations: 415 kB / 0.6074 GB, free: 13.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.5318, allocations: 8.031 kB / 0.6074 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.177e-05/0.5319, allocations: 46.55 kB / 0.6074 GB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.5319, allocations: 7.906 kB / 0.6074 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.5321, allocations: 178.9 kB / 0.6076 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.5321, allocations: 8 kB / 0.6076 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.5321, allocations: 8 kB / 0.6076 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.5325, allocations: 137.5 kB / 0.6077 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.5326, allocations: 3.984 kB / 0.6078 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.5326, allocations: 8 kB / 0.6078 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.5326, allocations: 0 / 0.6078 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000373/0.533, allocations: 123.9 kB / 0.6079 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008652/0.5338, allocations: 483.3 kB / 0.6083 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.5341, allocations: 98.47 kB / 0.6084 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.5342, allocations: 0 / 0.6084 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.5342, allocations: 34.69 kB / 0.6085 GB, free: 11.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.5342, allocations: 4 kB / 0.6085 GB, free: 11.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009038/0.5351, allocations: 299.4 kB / 0.6088 GB, free: 11.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.5352, allocations: 55.41 kB / 0.6088 GB, free: 11.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.5353, allocations: 109 kB / 0.6089 GB, free: 11.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.5353, allocations: 25.7 kB / 0.6089 GB, free: 11.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.943e-05/0.5354, allocations: 116.1 kB / 0.609 GB, free: 11.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.5355, allocations: 23.73 kB / 0.6091 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.5355, allocations: 3.938 kB / 0.6091 GB, free: 11.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5356, allocations: 322.8 kB / 0.6094 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.5358, allocations: 43.95 kB / 0.6094 GB, free: 10.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.536, allocations: 69.66 kB / 0.6095 GB, free: 10.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.5362, allocations: 51.97 kB / 0.6095 GB, free: 10.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5362, allocations: 0 / 0.6095 GB, free: 10.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004734/0.5366, allocations: 166.3 kB / 0.6097 GB, free: 10.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.5367, allocations: 8 kB / 0.6097 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5367, allocations: 0 / 0.6097 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001617/0.5369, allocations: 28.72 kB / 0.6097 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.537, allocations: 35.95 kB / 0.6098 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.5382, allocations: 1.308 MB / 0.611 GB, free: 9.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.5383, allocations: 28.02 kB / 0.6111 GB, free: 8.996 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.5383, allocations: 4 kB / 0.6111 GB, free: 8.992 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.5385, allocations: 113.8 kB / 0.6112 GB, free: 8.871 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.5385, allocations: 7.906 kB / 0.6112 GB, free: 8.863 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.5385, allocations: 8.375 kB / 0.6112 GB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.5386, allocations: 7.953 kB / 0.6112 GB, free: 8.848 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5386, allocations: 4 kB / 0.6112 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5386, allocations: 0 / 0.6112 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.5388, allocations: 201.6 kB / 0.6114 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5388, allocations: 0 / 0.6114 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.5389, allocations: 19.98 kB / 0.6114 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-05/0.539, allocations: 24.84 kB / 0.6114 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.5391, allocations: 0 / 0.6114 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009826/0.54, allocations: 1.312 MB / 0.6127 GB, free: 7.109 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5401, allocations: 0 / 0.6127 GB, free: 7.109 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004628/0.5405, allocations: 260.3 kB / 0.613 GB, free: 6.836 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.5406, allocations: 89.05 kB / 0.6131 GB, free: 6.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.5406, allocations: 3.953 kB / 0.6131 GB, free: 6.727 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.5408, allocations: 19.97 kB / 0.6131 GB, free: 6.707 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.5408, allocations: 11.98 kB / 0.6131 GB, free: 6.695 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.5408, allocations: 0 / 0.6131 GB, free: 6.695 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.894e-05/0.5409, allocations: 95.28 kB / 0.6132 GB, free: 6.602 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5409, allocations: 0 / 0.6132 GB, free: 6.602 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002565/0.5412, allocations: 27.91 kB / 0.6132 GB, free: 6.574 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 3 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007747/0.542, allocations: 0.7844 MB / 0.614 GB, free: 5.762 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005318/0.5425, allocations: 230.6 kB / 0.6142 GB, free: 5.523 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5425, allocations: 0 / 0.6142 GB, free: 5.523 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.5428, allocations: 170.7 kB / 0.6144 GB, free: 5.344 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.543, allocations: 12.64 kB / 0.6144 GB, free: 5.332 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.5445, allocations: 0.8546 MB / 0.6152 GB, free: 4.422 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.5448, allocations: 0.7121 MB / 0.6159 GB, free: 3.684 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.276e-05/0.5449, allocations: 192 / 0.6159 GB, free: 3.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.236e-05/0.5449, allocations: 23.44 kB / 0.6159 GB, free: 3.656 MB / 426.7 MB Notification: Performance of SimCode: time 4.8e-07/0.5449, allocations: 0 / 0.6159 GB, free: 3.656 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.5608, allocations: 1.964 MB / 0.6178 GB, free: 1.855 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000275/0.5611, allocations: 205.5 kB / 0.618 GB, free: 1.613 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/2.19, allocations: 0 / 0.618 GB, free: 1.613 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat does not exist to compare? outputFormat=mat