Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",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.001554/0.001554, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.3 MB / 213.7 MB, free: 1.723 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008418/0.0008418, allocations: 78.64 kB / 261.7 MB, free: 1.68 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.2353/0.2353, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.324e-05/1.322e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.144, allocations: 58.85 MB / 477.2 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4662/0.6103, allocations: 90.86 MB / 0.5548 GB, free: 4.512 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.6106, allocations: 86.11 kB / 0.5548 GB, free: 4.469 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05605/0.6667, allocations: 26.63 MB / 0.5808 GB, free: 15.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.6667, allocations: 0 / 0.5808 GB, free: 15.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.6667, allocations: 12 kB / 0.5809 GB, free: 15.45 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.00241/0.6692, allocations: 1.041 MB / 0.5819 GB, free: 14.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.6692, allocations: 8.031 kB / 0.5819 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.6705, allocations: 231.4 kB / 0.5821 GB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.6708, allocations: 250.5 kB / 0.5823 GB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.671, allocations: 50 kB / 0.5824 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.6711, allocations: 58.81 kB / 0.5824 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001092/0.6722, allocations: 0.6354 MB / 0.5831 GB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.6734, allocations: 0.7522 MB / 0.5838 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.825e-05/0.6735, allocations: 11.89 kB / 0.5838 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.303e-05/0.6736, allocations: 0 / 0.5838 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.6736, allocations: 27.94 kB / 0.5838 GB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00446/0.6781, allocations: 3.793 MB / 0.5875 GB, free: 9.492 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002359/0.6804, allocations: 3.326 MB / 0.5908 GB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.6808, allocations: 259.6 kB / 0.591 GB, free: 5.582 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.897e-05/0.6809, allocations: 100.8 kB / 0.5911 GB, free: 5.469 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.6809, allocations: 42.52 kB / 0.5912 GB, free: 5.422 MB / 394.7 MB Notification: Performance of pre-optimization done (n=66): time 2.324e-06/0.6809, allocations: 0 / 0.5912 GB, free: 5.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=66): time 0.00148/0.6824, allocations: 0.6713 MB / 0.5918 GB, free: 4.879 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.6825, allocations: 136.5 kB / 0.592 GB, free: 4.715 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.6827, allocations: 246.4 kB / 0.5922 GB, free: 4.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.6828, allocations: 29.7 kB / 0.5922 GB, free: 4.484 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.683, allocations: 399.6 kB / 0.5926 GB, free: 4.125 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.6832, allocations: 219 kB / 0.5928 GB, free: 3.938 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.6832, allocations: 0 / 0.5928 GB, free: 3.938 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.6834, allocations: 353 kB / 0.5932 GB, free: 3.598 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.6836, allocations: 170.2 kB / 0.5933 GB, free: 3.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/0.684, allocations: 366.5 kB / 0.5937 GB, free: 3.145 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007275/0.6847, allocations: 335.5 kB / 0.594 GB, free: 2.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.6848, allocations: 4 kB / 0.594 GB, free: 2.906 MB / 394.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001584/0.6863, allocations: 0.8596 MB / 0.5948 GB, free: 2.207 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.6864, allocations: 7.938 kB / 0.5948 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.6864, allocations: 12.03 kB / 0.5948 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005838/0.687, allocations: 215.5 kB / 0.5951 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/0.6874, allocations: 139.6 kB / 0.5952 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004756/0.6922, allocations: 5.945 MB / 0.601 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.6927, allocations: 71.14 kB / 0.6011 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-05/0.6928, allocations: 31.98 kB / 0.6011 GB, free: 11.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 78 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.6929, allocations: 132.8 kB / 0.6012 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001416/0.6943, allocations: 0.6677 MB / 0.6019 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.6945, allocations: 43.47 kB / 0.6019 GB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.6959, allocations: 0.7192 MB / 0.6026 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.6959, allocations: 8 kB / 0.6026 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.6959, allocations: 8 kB / 0.6026 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.696, allocations: 0 / 0.6026 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/0.6985, allocations: 1.481 MB / 0.6041 GB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6985, allocations: 4 kB / 0.6041 GB, free: 8.738 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.6987, allocations: 63.91 kB / 0.6041 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000504/0.6993, allocations: 211.2 kB / 0.6043 GB, free: 8.457 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.6993, allocations: 4 kB / 0.6043 GB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004806/0.7041, allocations: 5.94 MB / 0.6101 GB, free: 2.051 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.7041, allocations: 0 / 0.6101 GB, free: 2.051 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.7061, allocations: 1.245 MB / 0.6114 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.7063, allocations: 120.5 kB / 0.6115 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.7063, allocations: 4 kB / 0.6115 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/0.7067, allocations: 4 kB / 0.6115 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.51e-05/0.7068, allocations: 59.94 kB / 0.6115 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.7068, allocations: 16 kB / 0.6116 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001959/0.707, allocations: 185.9 kB / 0.6117 GB, free: 364 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.707, allocations: 0 / 0.6117 GB, free: 364 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001095/0.7081, allocations: 243.6 kB / 0.612 GB, free: 120 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (coaxCylindersEndFaces.port_p.reference.gamma,halfCylinder.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002304/0.7104, allocations: 2.02 MB / 0.6139 GB, free: 14.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.7119, allocations: 0.9775 MB / 0.6149 GB, free: 13.03 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.7119, allocations: 0 / 0.6149 GB, free: 13.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007632/0.7127, allocations: 0.7262 MB / 0.6156 GB, free: 12.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.7131, allocations: 28.42 kB / 0.6156 GB, free: 12.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.7155, allocations: 1.047 MB / 0.6167 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.716, allocations: 0.9228 MB / 0.6176 GB, free: 10.19 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002939/0.7163, allocations: 60.45 kB / 0.6176 GB, free: 10.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/0.7166, allocations: 235.3 kB / 0.6178 GB, free: 9.898 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.7166, allocations: 0 / 0.6178 GB, free: 9.898 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03965/0.7562, allocations: 9.979 MB / 0.6276 GB, free: 15.94 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002989/0.7566, allocations: 157 kB / 0.6277 GB, free: 15.75 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/3.053, allocations: 4 kB / 0.6277 GB, free: 15.75 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat does not exist to compare? outputFormat=mat