Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.001326/0.001326, allocations: 121 kB / 18.5 MB, free: 4.562 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.001507/0.001507, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.406/1.406, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 51.94 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.109, allocations: 53.34 MB / 427 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005618/0.1146, allocations: 3.533 MB / 430.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002331/0.1169, allocations: 0.9697 MB / 431.5 MB, free: 252 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005409/0.1175, allocations: 11.94 kB / 431.5 MB, free: 240 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004494/0.1179, allocations: 95.09 kB / 431.6 MB, free: 144 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1968/0.3148, allocations: 172.2 kB / 431.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006861/0.3155, allocations: 164.4 kB / 432 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008529/0.3163, allocations: 0.633 MB / 432.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002852/0.3166, allocations: 143 kB / 432.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002966/0.3169, allocations: 246.7 kB / 433 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.3172, allocations: 274.7 kB / 433.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.352e-05/0.3173, allocations: 52.78 kB / 433.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.66e-05/0.3173, allocations: 50.94 kB / 433.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.097e-05/0.3174, allocations: 133.5 kB / 433.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.3176, allocations: 284.2 kB / 433.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005628/0.3181, allocations: 0.6348 MB / 434.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3182, allocations: 0 / 434.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3182, allocations: 1.188 kB / 434.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.3182, allocations: 1.125 kB / 434.4 MB, free: 7.273 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001405/0.3196, allocations: 0.8766 MB / 435.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.3196, allocations: 8.719 kB / 435.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.315e-05/0.3196, allocations: 14.22 kB / 435.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.273e-05/0.3197, allocations: 93.03 kB / 435.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.851e-05/0.3198, allocations: 66.27 kB / 435.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00047/0.3203, allocations: 356.5 kB / 435.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.093e-05/0.3203, allocations: 38.69 kB / 435.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.493e-05/0.3204, allocations: 49.97 kB / 435.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000815/0.3212, allocations: 440.5 kB / 436.3 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.3212, allocations: 0.5 kB / 436.3 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/0.3213, allocations: 21.56 kB / 436.3 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.3213, allocations: 15.41 kB / 436.3 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000834/0.3221, allocations: 393.8 kB / 436.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/0.3246, allocations: 1.576 MB / 438.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006944/0.3253, allocations: 387.5 kB / 438.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003947/0.3257, allocations: 161.7 kB / 438.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.824e-05/0.3258, allocations: 6.438 kB / 438.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.3258, allocations: 41.36 kB / 438.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.505e-06/0.3258, allocations: 0 / 438.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.00334/0.3291, allocations: 1.186 MB / 440.1 MB, free: 4.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.3292, allocations: 61.86 kB / 440.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000468/0.3296, allocations: 413.7 kB / 440.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.3297, allocations: 35.89 kB / 440.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.3298, allocations: 311.4 kB / 440.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.3299, allocations: 195.4 kB / 441.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.3301, allocations: 111.1 kB / 441.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.3301, allocations: 357.3 kB / 441.5 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004483/0.3306, allocations: 181.6 kB / 441.7 MB, free: 3.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/0.3311, allocations: 301.1 kB / 442 MB, free: 3.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009608/0.3321, allocations: 492.7 kB / 442.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3321, allocations: 1.062 kB / 442.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001528/0.3336, allocations: 0.7363 MB / 443.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.3336, allocations: 10.91 kB / 443.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.3336, allocations: 3.875 kB / 443.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006033/0.3342, allocations: 188 kB / 443.4 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005032/0.3347, allocations: 114.9 kB / 443.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003902/0.3386, allocations: 4.266 MB / 447.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005488/0.3392, allocations: 35.31 kB / 447.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.3392, allocations: 23.36 kB / 447.8 MB, free: 15.09 MB / 366.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.0002916/0.3395, allocations: 188.6 kB / 448 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.194e-05/0.3396, allocations: 50.33 kB / 448.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.3398, allocations: 64.27 kB / 448.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3398, allocations: 11.28 kB / 448.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-05/0.3398, allocations: 2.812 kB / 448.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.3398, allocations: 3.844 kB / 448.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/0.3423, allocations: 1.29 MB / 449.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.3424, allocations: 2.5 kB / 449.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/0.3427, allocations: 66.42 kB / 449.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004559/0.3431, allocations: 170.2 kB / 449.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.3431, allocations: 14 kB / 449.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00426/0.3474, allocations: 4.108 MB / 453.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3474, allocations: 5.156 kB / 453.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.3488, allocations: 0.6967 MB / 454.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.349, allocations: 130.5 kB / 454.6 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.417e-05/0.349, allocations: 11.34 kB / 454.6 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.3494, allocations: 20.17 kB / 454.7 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.3495, allocations: 43.75 kB / 454.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.3495, allocations: 19.08 kB / 454.7 MB, free: 9.871 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003758/0.3499, allocations: 282.6 kB / 455 MB, free: 9.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3499, allocations: 1.5 kB / 455 MB, free: 9.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007931/0.3507, allocations: 154.4 kB / 455.2 MB, free: 9.707 MB / 366.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.001653/0.3523, allocations: 1.245 MB / 456.4 MB, free: 8.777 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.354, allocations: 0.766 MB / 457.2 MB, free: 8.348 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.354, allocations: 0 / 457.2 MB, free: 8.348 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008754/0.3549, allocations: 0.5147 MB / 457.7 MB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.3554, allocations: 46.5 kB / 457.7 MB, free: 7.973 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007802/0.3632, allocations: 4.659 MB / 462.4 MB, free: 5.203 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005773/0.3638, allocations: 0.8612 MB / 463.3 MB, free: 4.496 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002111/0.364, allocations: 47.09 kB / 463.3 MB, free: 4.484 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.3642, allocations: 178.6 kB / 463.5 MB, free: 4.352 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3642, allocations: 0 / 463.5 MB, free: 4.352 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03688/0.4011, allocations: 9.953 MB / 473.4 MB, free: 136 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.17, allocations: 9.625 kB / 473.4 MB, free: 136 kB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.492520891013555] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 11.310153939004522 11.322053952 11.001214657 Calling exit ...