Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 101.5 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 191.4 kB / 24.49 MB, free: 3.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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) 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(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 55.91 kB / 371.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2336, allocations: 52.18 MB / 423.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004635/0.2382, allocations: 3.205 MB / 426.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.2398, allocations: 0.8764 MB / 427.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.24, allocations: 11.94 kB / 427.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.2403, allocations: 91.09 kB / 427.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.2406, allocations: 166.7 kB / 427.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.241, allocations: 179.7 kB / 427.9 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006084/0.2416, allocations: 0.6231 MB / 428.5 MB, free: 9.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/0.2419, allocations: 142 kB / 428.6 MB, free: 9.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003363/0.2422, allocations: 251 kB / 428.9 MB, free: 8.859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003069/0.2425, allocations: 274.7 kB / 429.2 MB, free: 8.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.415e-05/0.2426, allocations: 52 kB / 429.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.548e-05/0.2427, allocations: 52 kB / 429.3 MB, free: 8.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.2428, allocations: 127.5 kB / 429.4 MB, free: 8.363 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.243, allocations: 230.9 kB / 429.6 MB, free: 8.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006444/0.2436, allocations: 0.6416 MB / 430.3 MB, free: 7.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2436, allocations: 0 / 430.3 MB, free: 7.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2436, allocations: 0 / 430.3 MB, free: 7.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.2437, allocations: 0 / 430.3 MB, free: 7.492 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.00149/0.2451, allocations: 0.7934 MB / 431 MB, free: 6.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.2452, allocations: 8.031 kB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.994e-05/0.2452, allocations: 21.5 kB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.248e-05/0.2453, allocations: 90.7 kB / 431.2 MB, free: 6.539 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.733e-05/0.2454, allocations: 64.56 kB / 431.2 MB, free: 6.477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/0.2459, allocations: 290.1 kB / 431.5 MB, free: 6.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.107e-05/0.2459, allocations: 37.69 kB / 431.5 MB, free: 6.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.137e-05/0.246, allocations: 55.89 kB / 431.6 MB, free: 6.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008313/0.2469, allocations: 434.5 kB / 432 MB, free: 5.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.2469, allocations: 0 / 432 MB, free: 5.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.261e-05/0.2469, allocations: 24 kB / 432 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.2469, allocations: 15.98 kB / 432.1 MB, free: 5.605 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000894/0.2478, allocations: 389 kB / 432.4 MB, free: 5.227 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002383/0.2502, allocations: 1.317 MB / 433.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006848/0.2509, allocations: 304.8 kB / 434.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003893/0.2513, allocations: 169.4 kB / 434.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.2513, allocations: 4.328 kB / 434.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.2513, allocations: 34.89 kB / 434.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.603e-06/0.2513, allocations: 0 / 434.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.003208/0.2545, allocations: 1.189 MB / 435.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.2546, allocations: 59.91 kB / 435.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004433/0.255, allocations: 397.6 kB / 435.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.2551, allocations: 33.7 kB / 435.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/0.2553, allocations: 304.7 kB / 436.2 MB, free: 1.297 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.2555, allocations: 210.2 kB / 436.4 MB, free: 1.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.2556, allocations: 114.2 kB / 436.5 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.2558, allocations: 354.8 kB / 436.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004277/0.2562, allocations: 177.2 kB / 437.1 MB, free: 452 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/0.2568, allocations: 307.2 kB / 437.4 MB, free: 104 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009761/0.2578, allocations: 496 kB / 437.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2578, allocations: 4 kB / 437.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001452/0.2592, allocations: 0.7366 MB / 438.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.2593, allocations: 11.98 kB / 438.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2593, allocations: 0 / 438.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005568/0.2598, allocations: 180 kB / 438.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/0.2603, allocations: 115.9 kB / 438.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004236/0.2645, allocations: 4.029 MB / 442.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.265, allocations: 27.98 kB / 442.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/0.265, allocations: 20 kB / 443 MB, free: 10.21 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 (58): * Single equations (assignments): 56 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002379/0.2653, allocations: 192.6 kB / 443.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.412e-05/0.2653, allocations: 51.61 kB / 443.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.2655, allocations: 61.03 kB / 443.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2655, allocations: 8.062 kB / 443.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.2655, allocations: 4 kB / 443.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.2655, allocations: 3.984 kB / 443.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.2677, allocations: 1.197 MB / 444.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.2677, allocations: 4 kB / 444.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.268, allocations: 64.02 kB / 444.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004045/0.2684, allocations: 161.5 kB / 444.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.2684, allocations: 16 kB / 444.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003728/0.2721, allocations: 3.868 MB / 448.6 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.2721, allocations: 7.875 kB / 448.6 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.2733, allocations: 0.7002 MB / 449.3 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.731e-05/0.2734, allocations: 43.7 kB / 449.3 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/0.2735, allocations: 12 kB / 449.3 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.2737, allocations: 15.98 kB / 449.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.2738, allocations: 48.34 kB / 449.4 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.2739, allocations: 20 kB / 449.4 MB, free: 3.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003103/0.2742, allocations: 275.2 kB / 449.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2742, allocations: 0 / 449.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006701/0.2748, allocations: 152 kB / 449.8 MB, free: 2.988 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (35): * Single equations (assignments): 33 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00151/0.2764, allocations: 1.248 MB / 451.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.2778, allocations: 0.754 MB / 451.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2778, allocations: 192 / 451.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007673/0.2785, allocations: 0.5113 MB / 452.4 MB, free: 388 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.279, allocations: 47.31 kB / 452.4 MB, free: 344 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006696/0.2857, allocations: 4.621 MB / 457 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.2859, allocations: 267 kB / 457.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001669/0.2861, allocations: 48.3 kB / 457.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.2863, allocations: 175.4 kB / 457.5 MB, free: 11 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.2863, allocations: 0 / 457.5 MB, free: 11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03801/0.3243, allocations: 10.34 MB / 467.8 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.39, allocations: 11.33 kB / 467.9 MB, free: 0.8555 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.642560745938681] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 12.55520795006305 12.581675239 12.333423548 Calling exit ...