Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002443/0.002449, allocations: 183.9 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.179/2.179, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001153, allocations: 97.98 kB / 270.9 MB, free: 8.363 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.5201/0.5202, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007096/0.0007099, allocations: 12 kB / 431.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1489, allocations: 58.84 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007624/0.1566, allocations: 4.174 MB / 494.5 MB, free: 6.934 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004056/0.1607, allocations: 1.52 MB / 496 MB, free: 5.402 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006155/0.1614, allocations: 20 kB / 496 MB, free: 5.383 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007766/0.1622, allocations: 178.9 kB / 496.2 MB, free: 5.207 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.1635, allocations: 291.2 kB / 496.5 MB, free: 4.922 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.1658, allocations: 0.5376 MB / 497 MB, free: 4.383 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.1673, allocations: 0.5613 MB / 497.6 MB, free: 3.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00392/0.1713, allocations: 1.259 MB / 498.8 MB, free: 2.523 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006289/0.1719, allocations: 278.9 kB / 499.1 MB, free: 2.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007522/0.1727, allocations: 370.5 kB / 499.5 MB, free: 1.887 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.1728, allocations: 44 kB / 499.5 MB, free: 1.844 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006161/0.1735, allocations: 127.9 kB / 499.6 MB, free: 1.719 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.1736, allocations: 135.4 kB / 499.8 MB, free: 1.586 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002628/0.1739, allocations: 169.3 kB / 499.9 MB, free: 1.414 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.1755, allocations: 0.8726 MB / 0.4891 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1756, allocations: 0 / 0.4891 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1756, allocations: 0 / 0.4891 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.169e-05/0.1756, allocations: 0 / 0.4891 GB, free: 0.5391 MB / 378.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.3198/0.4954, allocations: 1.202 MB / 0.4903 GB, free: 42.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.943e-05/0.4955, allocations: 16.3 kB / 0.4903 GB, free: 42.7 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004641/0.496, allocations: 153.3 kB / 0.4904 GB, free: 42.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/0.4983, allocations: 230.4 kB / 0.4906 GB, free: 42.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004496/0.4988, allocations: 253.7 kB / 0.4909 GB, free: 42.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002742/0.4991, allocations: 77.33 kB / 0.491 GB, free: 42.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000374/0.4995, allocations: 99.98 kB / 0.491 GB, free: 42.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00339/0.5029, allocations: 0.923 MB / 0.4919 GB, free: 42.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.831e-05/0.503, allocations: 6.344 kB / 0.492 GB, free: 42.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.5031, allocations: 41.28 kB / 0.492 GB, free: 42.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.433e-05/0.5032, allocations: 23.94 kB / 0.492 GB, free: 42.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002501/0.5057, allocations: 0.7155 MB / 0.4927 GB, free: 42.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008415/0.5141, allocations: 3.955 MB / 0.4966 GB, free: 40.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003307/0.5175, allocations: 3.361 MB / 0.4999 GB, free: 36.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001941/0.5178, allocations: 102.6 kB / 0.5 GB, free: 36.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.543e-05/0.5178, allocations: 42.36 kB / 0.5 GB, free: 36.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 3.928e-06/0.5178, allocations: 0 / 0.5 GB, free: 36.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.004374/0.5222, allocations: 1.324 MB / 0.5013 GB, free: 35.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.5223, allocations: 135.4 kB / 0.5014 GB, free: 35.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005509/0.5229, allocations: 313.3 kB / 0.5017 GB, free: 35.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.387e-05/0.523, allocations: 40.45 kB / 0.5018 GB, free: 35.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.5232, allocations: 460.4 kB / 0.5022 GB, free: 35.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000208/0.5234, allocations: 231.3 kB / 0.5024 GB, free: 34.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-05/0.5235, allocations: 18.88 kB / 0.5024 GB, free: 34.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.624e-05/0.5236, allocations: 343.9 kB / 0.5028 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000586/0.5242, allocations: 206.4 kB / 0.503 GB, free: 34.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006573/0.5249, allocations: 390.7 kB / 0.5033 GB, free: 34.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007779/0.5257, allocations: 259.1 kB / 0.5036 GB, free: 34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.5257, allocations: 5.375 kB / 0.5036 GB, free: 34 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002241/0.5279, allocations: 0.8738 MB / 0.5044 GB, free: 33.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.528, allocations: 11.03 kB / 0.5044 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.528, allocations: 9.5 kB / 0.5045 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.5291, allocations: 219.2 kB / 0.5047 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009137/0.53, allocations: 139.9 kB / 0.5048 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006597/0.5366, allocations: 6.298 MB / 0.511 GB, free: 27.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009085/0.5376, allocations: 92.67 kB / 0.511 GB, free: 27.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.689e-05/0.5377, allocations: 36.7 kB / 0.5111 GB, free: 27.6 MB / 378.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 () * Number of clocked 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.0004442/0.5381, allocations: 228.1 kB / 0.5113 GB, free: 27.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.5383, allocations: 39.84 kB / 0.5113 GB, free: 27.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/0.5402, allocations: 0.6864 MB / 0.512 GB, free: 27.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.5403, allocations: 11.81 kB / 0.512 GB, free: 27.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.5403, allocations: 4.438 kB / 0.512 GB, free: 27.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.5403, allocations: 8.25 kB / 0.512 GB, free: 27.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003782/0.5441, allocations: 1.563 MB / 0.5136 GB, free: 26.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.5441, allocations: 1.75 kB / 0.5136 GB, free: 26.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005157/0.5447, allocations: 66.89 kB / 0.5136 GB, free: 26.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000945/0.5456, allocations: 214.2 kB / 0.5138 GB, free: 26.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.187e-05/0.5457, allocations: 27.17 kB / 0.5138 GB, free: 26.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0065/0.5522, allocations: 6.286 MB / 0.52 GB, free: 20.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.5523, allocations: 3.938 kB / 0.52 GB, free: 20.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.5547, allocations: 1.223 MB / 0.5212 GB, free: 19.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.555, allocations: 128.7 kB / 0.5213 GB, free: 19.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.229e-05/0.5551, allocations: 11.81 kB / 0.5213 GB, free: 19.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005373/0.5556, allocations: 14.84 kB / 0.5213 GB, free: 19.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/0.5558, allocations: 55.33 kB / 0.5214 GB, free: 19.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/0.5559, allocations: 17 kB / 0.5214 GB, free: 19.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003525/0.5562, allocations: 217.9 kB / 0.5216 GB, free: 19.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5563, allocations: 4.062 kB / 0.5216 GB, free: 19.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001389/0.5577, allocations: 275.3 kB / 0.5219 GB, free: 19.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * 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 (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.00266/0.5603, allocations: 1.985 MB / 0.5238 GB, free: 17.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002253/0.5626, allocations: 1.081 MB / 0.5249 GB, free: 16.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.5627, allocations: 0 / 0.5249 GB, free: 16.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001287/0.564, allocations: 0.7816 MB / 0.5256 GB, free: 16.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006895/0.5647, allocations: 43.33 kB / 0.5257 GB, free: 16.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008632/0.5733, allocations: 7.085 MB / 0.5326 GB, free: 26.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006505/0.5741, allocations: 0.9256 MB / 0.5335 GB, free: 25.62 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004754/0.5746, allocations: 236.6 kB / 0.5337 GB, free: 25.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.673e-06/0.5746, allocations: 0 / 0.5337 GB, free: 25.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.257/3.831, allocations: 21.03 MB / 0.5543 GB, free: 19.92 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat does not exist to compare? outputFormat=mat