Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.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.Sources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009898/0.0009899, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.203/1.203, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008143/0.0008143, allocations: 90.95 kB / 292.1 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1705/0.1705, allocations: 45.14 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.039e-05, allocations: 0 / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09164/0.09169, allocations: 63.24 MB / 0.5115 GB, free: 6.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3309/0.4226, allocations: 90.5 MB / 0.5998 GB, free: 2.914 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001792/0.4228, allocations: 73.02 kB / 0.5999 GB, free: 2.875 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0182/0.4411, allocations: 7.335 MB / 0.6071 GB, free: 12.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4411, allocations: 3.938 kB / 0.6071 GB, free: 12.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.4411, allocations: 4 kB / 0.6071 GB, free: 12.61 MB / 410.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.0008752/0.442, allocations: 0.595 MB / 0.6076 GB, free: 11.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.442, allocations: 15.97 kB / 0.6077 GB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.342e-05/0.4421, allocations: 66.09 kB / 0.6077 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.404e-05/0.4422, allocations: 43.44 kB / 0.6078 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.4425, allocations: 278.7 kB / 0.608 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.4425, allocations: 27.58 kB / 0.6081 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.4426, allocations: 34.69 kB / 0.6081 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004525/0.443, allocations: 324.9 kB / 0.6084 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4431, allocations: 0 / 0.6084 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.4431, allocations: 13.38 kB / 0.6084 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.4431, allocations: 8 kB / 0.6084 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.4434, allocations: 216.3 kB / 0.6086 GB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.445, allocations: 1.301 MB / 0.6099 GB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.4454, allocations: 163.1 kB / 0.6101 GB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.439e-05/0.4455, allocations: 60.78 kB / 0.6101 GB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.4455, allocations: 7.969 kB / 0.6101 GB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.4455, allocations: 46.44 kB / 0.6102 GB, free: 9.684 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.4455, allocations: 0 / 0.6102 GB, free: 9.684 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.000331/0.4459, allocations: 146.1 kB / 0.6103 GB, free: 9.559 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.4459, allocations: 136.4 kB / 0.6104 GB, free: 9.398 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.4462, allocations: 291.1 kB / 0.6107 GB, free: 9.156 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.4462, allocations: 25.7 kB / 0.6107 GB, free: 9.125 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.4464, allocations: 247.4 kB / 0.611 GB, free: 8.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.4464, allocations: 54.3 kB / 0.611 GB, free: 8.883 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/0.4464, allocations: 3.75 kB / 0.611 GB, free: 8.883 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.4465, allocations: 345 kB / 0.6114 GB, free: 8.551 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.231e-05/0.4466, allocations: 50.38 kB / 0.6114 GB, free: 8.516 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.4468, allocations: 137.7 kB / 0.6115 GB, free: 8.367 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.4469, allocations: 84.09 kB / 0.6116 GB, free: 8.305 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.4469, allocations: 0 / 0.6116 GB, free: 8.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003457/0.4473, allocations: 245.7 kB / 0.6119 GB, free: 8.105 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4473, allocations: 8 kB / 0.6119 GB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4473, allocations: 4 kB / 0.6119 GB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.4473, allocations: 4 kB / 0.6119 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.4476, allocations: 82.77 kB / 0.6119 GB, free: 8.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.4477, allocations: 7.938 kB / 0.612 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.4479, allocations: 53.56 kB / 0.612 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.448, allocations: 12 kB / 0.612 GB, free: 7.945 MB / 410.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 () * 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 6.99e-05/0.448, allocations: 128.1 kB / 0.6121 GB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.083e-05/0.4481, allocations: 31.38 kB / 0.6122 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.861e-05/0.4482, allocations: 36.53 kB / 0.6122 GB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.4482, allocations: 0 / 0.6122 GB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4482, allocations: 7.938 kB / 0.6122 GB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4482, allocations: 3.984 kB / 0.6122 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006672/0.4489, allocations: 0.5871 MB / 0.6128 GB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4489, allocations: 0 / 0.6128 GB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.4491, allocations: 51.72 kB / 0.6128 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.4491, allocations: 0 / 0.6128 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.4491, allocations: 4 kB / 0.6128 GB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4491, allocations: 4 kB / 0.6128 GB, free: 7.117 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4492, allocations: 160 / 0.6128 GB, free: 7.117 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.4495, allocations: 431.6 kB / 0.6133 GB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.896e-05/0.4496, allocations: 104.7 kB / 0.6134 GB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.4496, allocations: 7.875 kB / 0.6134 GB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.4498, allocations: 23.97 kB / 0.6134 GB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.4499, allocations: 19.81 kB / 0.6134 GB, free: 6.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.4499, allocations: 4 kB / 0.6134 GB, free: 6.496 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001882/0.4501, allocations: 227.8 kB / 0.6136 GB, free: 6.316 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4501, allocations: 4 kB / 0.6136 GB, free: 6.312 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003265/0.4504, allocations: 74.94 kB / 0.6137 GB, free: 6.246 MB / 410.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 () * 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.0006355/0.4511, allocations: 1.375 MB / 0.615 GB, free: 4.852 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002319/0.4513, allocations: 140.9 kB / 0.6152 GB, free: 4.746 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4513, allocations: 3.438 kB / 0.6152 GB, free: 4.746 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.171e-05/0.4514, allocations: 57.92 kB / 0.6152 GB, free: 4.703 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.4517, allocations: 28.7 kB / 0.6153 GB, free: 4.688 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008162/0.4525, allocations: 424 kB / 0.6157 GB, free: 4.258 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.4528, allocations: 0.7837 MB / 0.6164 GB, free: 3.449 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.4529, allocations: 26.06 kB / 0.6165 GB, free: 3.422 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.4531, allocations: 105.9 kB / 0.6166 GB, free: 3.391 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4531, allocations: 0 / 0.6166 GB, free: 3.391 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.4683, allocations: 4.57 MB / 0.621 GB, free: 14.95 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/0.4685, allocations: 142.5 kB / 0.6212 GB, free: 14.73 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.239, allocations: 0 / 0.6212 GB, free: 14.73 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat does not exist to compare? outputFormat=mat