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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 97.06 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 173.4 kB / 16.56 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.791/1.791, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4043/0.4043, allocations: 43.54 MB / 314.5 MB, free: 8.777 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009552/0.0009554, allocations: 8 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1487, allocations: 58.86 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004632/0.1534, allocations: 4.171 MB / 447 MB, free: 8.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002939/0.1564, allocations: 1.52 MB / 448.5 MB, free: 7.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004018/0.1568, allocations: 20 kB / 448.6 MB, free: 7.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005471/0.1574, allocations: 174.9 kB / 448.7 MB, free: 7.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007875/0.1582, allocations: 295.2 kB / 449 MB, free: 6.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.1594, allocations: 0.5492 MB / 449.6 MB, free: 6.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006398/0.16, allocations: 0.5574 MB / 450.1 MB, free: 5.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/0.1623, allocations: 1.26 MB / 451.4 MB, free: 4.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00041/0.1628, allocations: 278.9 kB / 451.7 MB, free: 4.102 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004709/0.1632, allocations: 374.4 kB / 452 MB, free: 3.734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.323e-05/0.1633, allocations: 44 kB / 452.1 MB, free: 3.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004123/0.1637, allocations: 131.9 kB / 452.2 MB, free: 3.562 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.1639, allocations: 131.4 kB / 452.3 MB, free: 3.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.164, allocations: 173.3 kB / 452.5 MB, free: 3.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009528/0.165, allocations: 0.8649 MB / 453.4 MB, free: 2.391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.165, allocations: 0 / 453.4 MB, free: 2.391 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.165, allocations: 0 / 453.4 MB, free: 2.391 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.165, allocations: 0 / 453.4 MB, free: 2.391 MB / 382.1 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.003217/0.1683, allocations: 1.209 MB / 454.6 MB, free: 1.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.1683, allocations: 16.03 kB / 454.6 MB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002021/0.1685, allocations: 156.2 kB / 454.7 MB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.1699, allocations: 230.8 kB / 455 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.1702, allocations: 250.5 kB / 455.2 MB, free: 456 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.1703, allocations: 81.98 kB / 455.3 MB, free: 372 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.1705, allocations: 96 kB / 455.4 MB, free: 276 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2498/0.4202, allocations: 0.9163 MB / 456.3 MB, free: 44.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.17e-05/0.4203, allocations: 2.938 kB / 456.3 MB, free: 44.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.499e-05/0.4204, allocations: 40.89 kB / 456.3 MB, free: 44.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/0.4205, allocations: 25.09 kB / 456.4 MB, free: 44.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.4216, allocations: 0.7206 MB / 457.1 MB, free: 44.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004393/0.426, allocations: 3.953 MB / 461 MB, free: 42.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.4281, allocations: 3.364 MB / 464.4 MB, free: 39.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.606e-05/0.4282, allocations: 96.72 kB / 464.5 MB, free: 39.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.4283, allocations: 50.31 kB / 464.5 MB, free: 39.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 2.816e-06/0.4283, allocations: 0 / 464.5 MB, free: 39.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002708/0.431, allocations: 1.313 MB / 465.9 MB, free: 38.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.4311, allocations: 143.6 kB / 466 MB, free: 38.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.4314, allocations: 320.7 kB / 466.3 MB, free: 38.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.4315, allocations: 38.48 kB / 466.4 MB, free: 38.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.4317, allocations: 400.3 kB / 466.7 MB, free: 38.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.4319, allocations: 229 kB / 467 MB, free: 38.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.432, allocations: 19.5 kB / 467 MB, free: 38.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.4321, allocations: 350.1 kB / 467.3 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/0.4324, allocations: 192.1 kB / 467.5 MB, free: 37.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004651/0.4329, allocations: 397.8 kB / 467.9 MB, free: 37.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004189/0.4333, allocations: 266.6 kB / 468.2 MB, free: 37.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.4333, allocations: 4 kB / 468.2 MB, free: 37.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001337/0.4347, allocations: 0.872 MB / 469 MB, free: 37.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.4347, allocations: 12.88 kB / 469.1 MB, free: 37.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.4347, allocations: 9.062 kB / 469.1 MB, free: 37.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005879/0.4353, allocations: 218.7 kB / 469.3 MB, free: 37.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.4358, allocations: 138.6 kB / 469.4 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00443/0.4402, allocations: 6.302 MB / 475.7 MB, free: 31.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000522/0.4407, allocations: 92.31 kB / 475.8 MB, free: 31.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.642e-05/0.4408, allocations: 32.33 kB / 475.8 MB, free: 31.67 MB / 382.1 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.0003308/0.4411, allocations: 229.2 kB / 476.1 MB, free: 31.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.4413, allocations: 45.34 kB / 476.1 MB, free: 31.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.4423, allocations: 0.6857 MB / 476.8 MB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.4423, allocations: 6.844 kB / 476.8 MB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4423, allocations: 6.25 kB / 476.8 MB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4423, allocations: 3.422 kB / 476.8 MB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.4444, allocations: 1.571 MB / 478.4 MB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4444, allocations: 0 / 478.4 MB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.4447, allocations: 69.89 kB / 478.4 MB, free: 30.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004434/0.4451, allocations: 217.8 kB / 478.7 MB, free: 30.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.4452, allocations: 10.97 kB / 478.7 MB, free: 30.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003704/0.4489, allocations: 6.297 MB / 485 MB, free: 24.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4489, allocations: 0 / 485 MB, free: 24.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.4502, allocations: 1.22 MB / 486.2 MB, free: 23.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.4503, allocations: 125 kB / 486.3 MB, free: 23.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/0.4503, allocations: 14.44 kB / 486.3 MB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/0.4507, allocations: 11.31 kB / 486.3 MB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.359e-05/0.4508, allocations: 57.48 kB / 486.4 MB, free: 23.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.4508, allocations: 16.69 kB / 486.4 MB, free: 23.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002101/0.451, allocations: 216.9 kB / 486.6 MB, free: 23.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.451, allocations: 0 / 486.6 MB, free: 23.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009783/0.452, allocations: 275.5 kB / 486.9 MB, free: 23.08 MB / 382.1 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.001465/0.4535, allocations: 1.992 MB / 488.9 MB, free: 21.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.4548, allocations: 1.089 MB / 490 MB, free: 20.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4548, allocations: 0 / 490 MB, free: 20.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006938/0.4555, allocations: 0.7816 MB / 490.7 MB, free: 20.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.4559, allocations: 38.02 kB / 490.8 MB, free: 20.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005287/0.4612, allocations: 7.038 MB / 497.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006903/0.4619, allocations: 0.9239 MB / 498.7 MB, free: 29.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002876/0.4622, allocations: 67.97 kB / 498.8 MB, free: 29.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.4625, allocations: 232.6 kB / 499 MB, free: 29.52 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4625, allocations: 0 / 499 MB, free: 29.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03181/0.4943, allocations: 10.67 MB / 0.4978 GB, free: 28.57 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002542/0.4946, allocations: 222.4 kB / 0.498 GB, free: 28.33 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.105/2.6, allocations: 5.344 kB / 0.498 GB, free: 28.33 MB / 398.1 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) Environment - environmentSimulation: 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