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.001508/0.001508, allocations: 113 kB / 18.49 MB, free: 4.539 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.001656/0.001656, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.448/1.448, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.001534/0.001534, allocations: 47.94 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1174, allocations: 53.32 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004503/0.1219, allocations: 2.879 MB / 429.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.1232, allocations: 0.7944 MB / 430.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.1233, allocations: 8 kB / 430.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.1235, allocations: 71.36 kB / 430.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.1238, allocations: 95.19 kB / 430.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.124, allocations: 107.9 kB / 431 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004154/0.1245, allocations: 406.4 kB / 431.4 MB, free: 416 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.1247, allocations: 94.88 kB / 431.4 MB, free: 316 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.1249, allocations: 167.4 kB / 431.6 MB, free: 148 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.203/0.3279, allocations: 169.9 kB / 431.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00019/0.3281, allocations: 33.69 kB / 431.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.3282, allocations: 33.34 kB / 431.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.453e-05/0.3283, allocations: 77.08 kB / 431.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.3285, allocations: 181.9 kB / 432.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005781/0.3291, allocations: 407.5 kB / 432.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3291, allocations: 0 / 432.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3291, allocations: 1.438 kB / 432.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.3291, allocations: 0 / 432.5 MB, free: 7.809 MB / 350.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.001242/0.3304, allocations: 0.6592 MB / 433.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.3304, allocations: 12.03 kB / 433.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.913e-05/0.3304, allocations: 10.19 kB / 433.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.273e-05/0.3305, allocations: 69.92 kB / 433.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.409e-05/0.3306, allocations: 38.64 kB / 433.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.331, allocations: 277.9 kB / 433.6 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.331, allocations: 30.25 kB / 433.6 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.903e-05/0.3311, allocations: 29.81 kB / 433.6 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000599/0.3317, allocations: 298.1 kB / 433.9 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.3317, allocations: 0 / 433.9 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.3317, allocations: 14.22 kB / 433.9 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.3317, allocations: 7.5 kB / 433.9 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005774/0.3323, allocations: 253.5 kB / 434.2 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.3339, allocations: 1.116 MB / 435.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.3343, allocations: 151.2 kB / 435.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.3344, allocations: 65.44 kB / 435.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.3345, allocations: 1.219 kB / 435.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.3345, allocations: 33.83 kB / 435.5 MB, free: 6.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.3345, allocations: 1.938 kB / 435.5 MB, free: 6.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002206/0.3367, allocations: 0.5994 MB / 436.1 MB, free: 6.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.3367, allocations: 53.62 kB / 436.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.337, allocations: 286.9 kB / 436.5 MB, free: 6.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.337, allocations: 34.73 kB / 436.5 MB, free: 5.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3372, allocations: 234.1 kB / 436.7 MB, free: 5.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.402e-05/0.3372, allocations: 75.72 kB / 436.8 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3373, allocations: 63.27 kB / 436.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.509e-05/0.3374, allocations: 338 kB / 437.2 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/0.3377, allocations: 94.22 kB / 437.3 MB, free: 5.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/0.338, allocations: 199.5 kB / 437.5 MB, free: 5.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005867/0.3386, allocations: 297.6 kB / 437.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3386, allocations: 5.25 kB / 437.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008654/0.3395, allocations: 400.1 kB / 438.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3395, allocations: 6.031 kB / 438.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.3395, allocations: 5.375 kB / 438.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002585/0.3398, allocations: 64.7 kB / 438.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/0.3401, allocations: 78.42 kB / 438.3 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.3416, allocations: 2.835 MB / 441.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.3418, allocations: 25.98 kB / 441.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.3419, allocations: 15.08 kB / 441.2 MB, free: 2.418 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.000123/0.342, allocations: 153.2 kB / 441.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.342, allocations: 29.06 kB / 441.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.051e-05/0.3421, allocations: 38.19 kB / 441.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3421, allocations: 2.75 kB / 441.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.3421, allocations: 1.438 kB / 441.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3421, allocations: 1.172 kB / 441.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003825/0.3425, allocations: 334.5 kB / 441.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3425, allocations: 0.5625 kB / 441.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.3427, allocations: 44.05 kB / 441.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001548/0.3429, allocations: 59.7 kB / 441.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3429, allocations: 0.7031 kB / 441.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.3446, allocations: 2.831 MB / 444.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3446, allocations: 2.625 kB / 444.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007916/0.3454, allocations: 385.3 kB / 445.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.907e-05/0.3455, allocations: 101.4 kB / 445.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.3455, allocations: 2.094 kB / 445.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.3457, allocations: 16.56 kB / 445.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.992e-05/0.3458, allocations: 19.98 kB / 445.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.3458, allocations: 11.61 kB / 445.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002428/0.3461, allocations: 199.1 kB / 445.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3461, allocations: 0 / 445.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004177/0.3465, allocations: 77.31 kB / 445.5 MB, free: 14.67 MB / 366.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.001167/0.3477, allocations: 0.9133 MB / 446.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.3487, allocations: 472.7 kB / 446.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3487, allocations: 0 / 446.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005558/0.3493, allocations: 347.5 kB / 447.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.3496, allocations: 28.05 kB / 447.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005053/0.3547, allocations: 3.045 MB / 450.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/0.3551, allocations: 0.774 MB / 451 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00012/0.3552, allocations: 27.78 kB / 451.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.3554, allocations: 102.5 kB / 451.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3554, allocations: 0 / 451.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/0.3876, allocations: 5.87 MB / 457 MB, free: 9.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.63, allocations: 11.64 kB / 457 MB, free: 9.742 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.031063347007148] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 10.769120818004012 10.783892059 10.451713893 Calling exit ...