Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.373/1.373, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 47.94 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2551, allocations: 53.36 MB / 431.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004132/0.2592, allocations: 2.889 MB / 434.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.2606, allocations: 0.7982 MB / 435.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.2608, allocations: 8 kB / 435.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.261, allocations: 63.44 kB / 435.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.2612, allocations: 107.2 kB / 435.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.2615, allocations: 111.8 kB / 435.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004075/0.2619, allocations: 398.5 kB / 436.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.2621, allocations: 99.27 kB / 436.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.2623, allocations: 163.4 kB / 436.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.2626, allocations: 175.2 kB / 436.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.583e-05/0.2626, allocations: 36 kB / 436.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.256e-05/0.2627, allocations: 39.94 kB / 436.8 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.363e-05/0.2627, allocations: 79.69 kB / 436.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.2629, allocations: 175.1 kB / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004249/0.2633, allocations: 410.6 kB / 437.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2633, allocations: 3.984 kB / 437.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2633, allocations: 0 / 437.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2633, allocations: 0 / 437.4 MB, free: 1.316 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001118/0.2644, allocations: 0.5869 MB / 438 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.2645, allocations: 8.031 kB / 438 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.017e-05/0.2645, allocations: 8.844 kB / 438 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.832e-05/0.2646, allocations: 74.66 kB / 438.1 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.48e-05/0.2646, allocations: 40.7 kB / 438.2 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.265, allocations: 221.7 kB / 438.4 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.265, allocations: 29.03 kB / 438.4 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.2651, allocations: 28.38 kB / 438.4 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006027/0.2657, allocations: 290 kB / 438.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.2657, allocations: 3.984 kB / 438.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.5e-05/0.2657, allocations: 19.98 kB / 438.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.2657, allocations: 4 kB / 438.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006163/0.2663, allocations: 254.5 kB / 439 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.2681, allocations: 1.041 MB / 440 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.2685, allocations: 152.1 kB / 440.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.2686, allocations: 64.81 kB / 440.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.2687, allocations: 3.984 kB / 440.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.2687, allocations: 34.56 kB / 440.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.233e-06/0.2687, allocations: 4 kB / 440.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002062/0.2708, allocations: 0.5905 MB / 440.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.2708, allocations: 59.34 kB / 440.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003874/0.2712, allocations: 284.1 kB / 441.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.2712, allocations: 33.7 kB / 441.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.2714, allocations: 232 kB / 441.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.537e-05/0.2715, allocations: 79.36 kB / 441.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.2716, allocations: 65.66 kB / 441.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.2717, allocations: 334.8 kB / 441.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.272, allocations: 99.94 kB / 442 MB, free: 12.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004218/0.2724, allocations: 199.9 kB / 442.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006398/0.2731, allocations: 301.1 kB / 442.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2731, allocations: 0 / 442.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008732/0.274, allocations: 405 kB / 442.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.274, allocations: 8 kB / 442.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.274, allocations: 4 kB / 442.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002296/0.2742, allocations: 61.98 kB / 443 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.2745, allocations: 71.83 kB / 443.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/0.2767, allocations: 2.634 MB / 445.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.277, allocations: 27.97 kB / 445.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.417e-05/0.277, allocations: 15.94 kB / 445.7 MB, free: 8.441 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001728/0.2772, allocations: 165.8 kB / 445.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/0.2772, allocations: 27.81 kB / 445.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.219e-05/0.2773, allocations: 30.3 kB / 446 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2773, allocations: 4 kB / 446 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2773, allocations: 0 / 446 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.2773, allocations: 0 / 446 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/0.2777, allocations: 308.5 kB / 446.3 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2777, allocations: 0 / 446.3 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.2779, allocations: 43.95 kB / 446.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001545/0.2781, allocations: 53.62 kB / 446.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.2781, allocations: 11.98 kB / 446.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/0.2802, allocations: 2.622 MB / 449 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2802, allocations: 0 / 449 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007393/0.281, allocations: 372.8 kB / 449.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-05/0.281, allocations: 31.8 kB / 449.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.2811, allocations: 7.938 kB / 449.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.2813, allocations: 19.98 kB / 449.4 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.75e-05/0.2813, allocations: 23.95 kB / 449.4 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.2814, allocations: 4 kB / 449.4 MB, free: 4.426 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002076/0.2816, allocations: 203 kB / 449.6 MB, free: 4.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2816, allocations: 0 / 449.6 MB, free: 4.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003764/0.2819, allocations: 72 kB / 449.7 MB, free: 4.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001039/0.283, allocations: 0.9107 MB / 450.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009466/0.2839, allocations: 472 kB / 451.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.2839, allocations: 4.188 kB / 451.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005187/0.2844, allocations: 345.2 kB / 451.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.2848, allocations: 33.72 kB / 451.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004565/0.2893, allocations: 3.027 MB / 454.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.2898, allocations: 0.783 MB / 455.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.2899, allocations: 30.41 kB / 455.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.29, allocations: 99.41 kB / 455.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of SimCode: time 9.11e-07/0.29, allocations: 0 / 455.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.324, allocations: 6.076 MB / 461.5 MB, free: 8.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.79, allocations: 15.61 kB / 461.5 MB, free: 8.305 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.102647325024009] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 11.956160007975996 11.976712351 11.709541636 Calling exit ...