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.001496/0.001496, allocations: 198.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007999/0.0007999, allocations: 99.03 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1855/0.1855, allocations: 45.15 MB / 383.7 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.543e-05/1.548e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09565/0.09569, allocations: 63.25 MB / 0.5044 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.376/0.4717, allocations: 89.83 MB / 0.5922 GB, free: 12.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001692/0.4719, allocations: 69.84 kB / 0.5922 GB, free: 12.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01905/0.491, allocations: 7.263 MB / 0.5993 GB, free: 6.352 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.491, allocations: 0 / 0.5993 GB, free: 6.352 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.023e-05/0.4911, allocations: 8 kB / 0.5993 GB, free: 6.344 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001126/0.4922, allocations: 0.5979 MB / 0.5999 GB, free: 5.723 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4922, allocations: 8.031 kB / 0.5999 GB, free: 5.715 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.4924, allocations: 43.44 kB / 0.6 GB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.4928, allocations: 287.3 kB / 0.6002 GB, free: 5.367 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.4928, allocations: 8 kB / 0.6003 GB, free: 5.359 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.4929, allocations: 20 kB / 0.6003 GB, free: 5.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003725/0.4932, allocations: 196.2 kB / 0.6005 GB, free: 5.219 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004414/0.4937, allocations: 272.5 kB / 0.6007 GB, free: 4.996 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.4937, allocations: 0 / 0.6007 GB, free: 4.996 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.4938, allocations: 3.984 kB / 0.6007 GB, free: 4.992 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.4938, allocations: 8 kB / 0.6007 GB, free: 4.984 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.4956, allocations: 1.22 MB / 0.6019 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.4959, allocations: 164.5 kB / 0.6021 GB, free: 3.699 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.688e-05/0.496, allocations: 53.44 kB / 0.6021 GB, free: 3.648 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.496, allocations: 4 kB / 0.6021 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.4961, allocations: 34.56 kB / 0.6022 GB, free: 3.602 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.4961, allocations: 0 / 0.6022 GB, free: 3.602 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003343/0.4964, allocations: 139.1 kB / 0.6023 GB, free: 3.484 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.4965, allocations: 136.5 kB / 0.6024 GB, free: 3.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.4967, allocations: 236.9 kB / 0.6027 GB, free: 3.121 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.4968, allocations: 29.7 kB / 0.6027 GB, free: 3.086 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.4969, allocations: 239.4 kB / 0.6029 GB, free: 2.887 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.016e-05/0.497, allocations: 54.64 kB / 0.603 GB, free: 2.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/0.497, allocations: 0 / 0.603 GB, free: 2.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4971, allocations: 338.1 kB / 0.6033 GB, free: 2.512 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.557e-05/0.4972, allocations: 45.88 kB / 0.6033 GB, free: 2.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.4974, allocations: 135.6 kB / 0.6035 GB, free: 2.336 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.4975, allocations: 64.78 kB / 0.6035 GB, free: 2.293 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4975, allocations: 4 kB / 0.6035 GB, free: 2.289 MB / 394.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003493/0.4979, allocations: 227.4 kB / 0.6037 GB, free: 2.098 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4979, allocations: 8 kB / 0.6038 GB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.4979, allocations: 0 / 0.6038 GB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.498, allocations: 8 kB / 0.6038 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.4983, allocations: 87.77 kB / 0.6038 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.4983, allocations: 4 kB / 0.6038 GB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.4986, allocations: 47.61 kB / 0.6039 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.4986, allocations: 8 kB / 0.6039 GB, free: 1.941 MB / 394.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 9.149e-05/0.4987, allocations: 116.4 kB / 0.604 GB, free: 1.824 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000248/0.499, allocations: 129 kB / 0.6041 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.847e-05/0.4991, allocations: 31.84 kB / 0.6042 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.207e-05/0.4991, allocations: 39.03 kB / 0.6042 GB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.4992, allocations: 7.953 kB / 0.6042 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4992, allocations: 3.938 kB / 0.6042 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4992, allocations: 0 / 0.6042 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006959/0.4999, allocations: 0.5312 MB / 0.6047 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4999, allocations: 0 / 0.6047 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.5001, allocations: 51.86 kB / 0.6048 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.5001, allocations: 0 / 0.6048 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.5001, allocations: 4 kB / 0.6048 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.5001, allocations: 0 / 0.6048 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.5001, allocations: 7.984 kB / 0.6048 GB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.5005, allocations: 410.4 kB / 0.6052 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.271e-05/0.5006, allocations: 104.7 kB / 0.6053 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.5006, allocations: 4 kB / 0.6053 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.5009, allocations: 19.97 kB / 0.6053 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.5009, allocations: 19.3 kB / 0.6053 GB, free: 468 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.5009, allocations: 4 kB / 0.6053 GB, free: 464 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001541/0.5011, allocations: 178.6 kB / 0.6055 GB, free: 328 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5011, allocations: 4 kB / 0.6055 GB, free: 324 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004186/0.5015, allocations: 71.67 kB / 0.6056 GB, free: 252 kB / 394.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.0007809/0.5023, allocations: 1.352 MB / 0.6069 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.5026, allocations: 122.4 kB / 0.607 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5026, allocations: 4.5 kB / 0.607 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.047e-05/0.5027, allocations: 52.56 kB / 0.6071 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.503, allocations: 23.58 kB / 0.6071 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009548/0.504, allocations: 398.8 kB / 0.6075 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.5043, allocations: 0.7869 MB / 0.6082 GB, free: 13.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000111/0.5045, allocations: 13.86 kB / 0.6082 GB, free: 13.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.5046, allocations: 105.3 kB / 0.6083 GB, free: 13.44 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5046, allocations: 4 kB / 0.6084 GB, free: 13.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.5275, allocations: 3.719 MB / 0.612 GB, free: 9.738 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/0.5277, allocations: 128.1 kB / 0.6121 GB, free: 9.551 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.381, allocations: 0 / 0.6121 GB, free: 9.551 MB / 410.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