Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 170 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 221.5 MB / 230.7 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 101 kB / 281.6 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.199/0.199, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.541e-05/1.557e-05, allocations: 224 / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1388, allocations: 61.92 MB / 0.4948 GB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3801/0.5189, allocations: 92.36 MB / 0.585 GB, free: 3.969 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.5192, allocations: 86.39 kB / 0.5851 GB, free: 3.887 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05717/0.5764, allocations: 26.81 MB / 0.6112 GB, free: 8.742 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.5764, allocations: 7.938 kB / 0.6112 GB, free: 8.734 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.5764, allocations: 16 kB / 0.6113 GB, free: 8.719 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002218/0.5787, allocations: 1.029 MB / 0.6123 GB, free: 7.645 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.5787, allocations: 11.98 kB / 0.6123 GB, free: 7.633 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.58, allocations: 226.8 kB / 0.6125 GB, free: 7.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.5802, allocations: 254.5 kB / 0.6127 GB, free: 7.117 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.5804, allocations: 53.98 kB / 0.6128 GB, free: 7.062 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.5805, allocations: 63.91 kB / 0.6128 GB, free: 7 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001081/0.5816, allocations: 0.6404 MB / 0.6135 GB, free: 6.359 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.5829, allocations: 0.7567 MB / 0.6142 GB, free: 5.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/0.5829, allocations: 4 kB / 0.6142 GB, free: 5.586 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.757e-05/0.583, allocations: 0 / 0.6142 GB, free: 5.586 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.583, allocations: 24 kB / 0.6142 GB, free: 5.562 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004527/0.5875, allocations: 3.793 MB / 0.6179 GB, free: 1.445 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/0.5901, allocations: 3.323 MB / 0.6212 GB, free: 13.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003687/0.5905, allocations: 267.4 kB / 0.6214 GB, free: 13.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.5906, allocations: 93.42 kB / 0.6215 GB, free: 13.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.5906, allocations: 46.89 kB / 0.6216 GB, free: 13.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=66): time 2.575e-06/0.5907, allocations: 0 / 0.6216 GB, free: 13.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=66): time 0.001553/0.5922, allocations: 0.6695 MB / 0.6222 GB, free: 12.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.5923, allocations: 140.5 kB / 0.6224 GB, free: 12.19 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.5926, allocations: 250.1 kB / 0.6226 GB, free: 11.94 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.5926, allocations: 25.7 kB / 0.6226 GB, free: 11.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.5929, allocations: 406.3 kB / 0.623 GB, free: 11.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.5931, allocations: 216.8 kB / 0.6232 GB, free: 11.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.5931, allocations: 0 / 0.6232 GB, free: 11.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5933, allocations: 346.8 kB / 0.6235 GB, free: 10.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/0.5936, allocations: 166.6 kB / 0.6237 GB, free: 10.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/0.594, allocations: 361.2 kB / 0.6241 GB, free: 10.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007738/0.5948, allocations: 342.2 kB / 0.6244 GB, free: 10 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.5948, allocations: 4 kB / 0.6244 GB, free: 10 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001682/0.5965, allocations: 0.862 MB / 0.6252 GB, free: 9.117 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.5965, allocations: 8 kB / 0.6252 GB, free: 9.109 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.5965, allocations: 8.031 kB / 0.6252 GB, free: 9.102 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006184/0.5972, allocations: 223.2 kB / 0.6255 GB, free: 8.871 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004913/0.5977, allocations: 139.8 kB / 0.6256 GB, free: 8.734 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004963/0.6026, allocations: 5.944 MB / 0.6314 GB, free: 2.324 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/0.6031, allocations: 71.06 kB / 0.6315 GB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.363e-05/0.6032, allocations: 35.98 kB / 0.6315 GB, free: 2.219 MB / 442.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.0001436/0.6034, allocations: 124.9 kB / 0.6316 GB, free: 2.09 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001479/0.6048, allocations: 0.6689 MB / 0.6323 GB, free: 1.402 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.605, allocations: 39.53 kB / 0.6323 GB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.6065, allocations: 0.7185 MB / 0.633 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.6065, allocations: 4 kB / 0.633 GB, free: 0.625 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.6065, allocations: 8 kB / 0.633 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.6065, allocations: 3.984 kB / 0.633 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/0.6091, allocations: 1.487 MB / 0.6345 GB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.6092, allocations: 3.953 kB / 0.6345 GB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.6094, allocations: 71.91 kB / 0.6345 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005286/0.6099, allocations: 207.2 kB / 0.6347 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.61, allocations: 7.984 kB / 0.6347 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005077/0.6151, allocations: 5.936 MB / 0.6405 GB, free: 8.367 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6151, allocations: 0 / 0.6405 GB, free: 8.367 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/0.6171, allocations: 1.246 MB / 0.6418 GB, free: 7.078 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.6173, allocations: 120.5 kB / 0.6419 GB, free: 6.941 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.6174, allocations: 3.984 kB / 0.6419 GB, free: 6.938 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003202/0.6177, allocations: 4 kB / 0.6419 GB, free: 6.934 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.429e-05/0.6178, allocations: 51.98 kB / 0.6419 GB, free: 6.883 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.6178, allocations: 20 kB / 0.642 GB, free: 6.863 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002086/0.618, allocations: 182 kB / 0.6421 GB, free: 6.684 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6181, allocations: 0 / 0.6421 GB, free: 6.684 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00106/0.6191, allocations: 247.1 kB / 0.6424 GB, free: 6.441 MB / 458.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.002338/0.6215, allocations: 2.017 MB / 0.6443 GB, free: 4.375 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.623, allocations: 0.9814 MB / 0.6453 GB, free: 3.355 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.623, allocations: 0 / 0.6453 GB, free: 3.355 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007964/0.6238, allocations: 0.7139 MB / 0.646 GB, free: 2.602 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.6242, allocations: 32.42 kB / 0.646 GB, free: 2.57 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.6266, allocations: 1.047 MB / 0.647 GB, free: 1.473 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.6272, allocations: 0.9267 MB / 0.6479 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003012/0.6275, allocations: 64.42 kB / 0.648 GB, free: 464 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.6278, allocations: 235.3 kB / 0.6482 GB, free: 228 kB / 458.7 MB Notification: Performance of SimCode: time 7.61e-07/0.6278, allocations: 0 / 0.6482 GB, free: 228 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.6614, allocations: 9.984 MB / 0.658 GB, free: 6.273 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.6616, allocations: 161.2 kB / 0.6581 GB, free: 6.086 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.326/2.988, allocations: 4 kB / 0.6581 GB, free: 6.082 MB / 474.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat does not exist to compare? outputFormat=mat