Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001999/0.001999, allocations: 116.9 kB / 18.49 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002565/0.002565, allocations: 220.7 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 230.4 MB / 254.7 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 60.09 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1176, allocations: 53.37 MB / 427.1 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005287/0.1229, allocations: 3.552 MB / 430.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.125, allocations: 0.9658 MB / 431.6 MB, free: 188 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002646/0.1252, allocations: 11.94 kB / 431.6 MB, free: 176 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.1256, allocations: 95.09 kB / 431.7 MB, free: 80 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2302/0.3558, allocations: 167.4 kB / 431.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006196/0.3564, allocations: 166.7 kB / 432 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007621/0.3572, allocations: 0.6326 MB / 432.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002829/0.3575, allocations: 140.7 kB / 432.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003037/0.3578, allocations: 249.9 kB / 433 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.3581, allocations: 272.8 kB / 433.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.503e-05/0.3581, allocations: 51.78 kB / 433.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.49e-05/0.3582, allocations: 52.97 kB / 433.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.624e-05/0.3583, allocations: 129.3 kB / 433.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.3585, allocations: 284.2 kB / 433.8 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005739/0.359, allocations: 0.6375 MB / 434.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.359, allocations: 0 / 434.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.359, allocations: 0 / 434.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.3591, allocations: 1.5 kB / 434.4 MB, free: 7.242 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.001389/0.3604, allocations: 0.8715 MB / 435.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.3605, allocations: 10.5 kB / 435.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.058e-05/0.3605, allocations: 13.84 kB / 435.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.509e-05/0.3606, allocations: 95.11 kB / 435.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.3607, allocations: 67.67 kB / 435.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004654/0.3612, allocations: 356.1 kB / 435.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.3612, allocations: 39.69 kB / 435.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.922e-05/0.3613, allocations: 49.31 kB / 435.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000842/0.3622, allocations: 442.7 kB / 436.4 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.3622, allocations: 0 / 436.4 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.3622, allocations: 18.06 kB / 436.4 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.3622, allocations: 15.17 kB / 436.4 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008805/0.3631, allocations: 396.4 kB / 436.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002468/0.3656, allocations: 1.577 MB / 438.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006811/0.3663, allocations: 387.1 kB / 438.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/0.3667, allocations: 163.8 kB / 438.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.176e-05/0.3667, allocations: 10.98 kB / 438.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.3667, allocations: 33.95 kB / 438.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.234e-06/0.3667, allocations: 0.9844 kB / 438.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003498/0.3702, allocations: 1.192 MB / 440.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.3702, allocations: 62.19 kB / 440.2 MB, free: 4.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004597/0.3707, allocations: 405.8 kB / 440.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.3707, allocations: 35.91 kB / 440.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.3709, allocations: 312.7 kB / 440.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.371, allocations: 196.4 kB / 441.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.3712, allocations: 110.7 kB / 441.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.3713, allocations: 362.6 kB / 441.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004462/0.3717, allocations: 178.4 kB / 441.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004947/0.3722, allocations: 300.5 kB / 442 MB, free: 3.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.3732, allocations: 496.7 kB / 442.5 MB, free: 3.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3732, allocations: 1.594 kB / 442.5 MB, free: 3.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00148/0.3747, allocations: 0.7383 MB / 443.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.3747, allocations: 8.766 kB / 443.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3747, allocations: 3.375 kB / 443.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005795/0.3753, allocations: 183.6 kB / 443.5 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.3758, allocations: 111.1 kB / 443.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004424/0.3803, allocations: 4.281 MB / 447.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005419/0.3808, allocations: 32.14 kB / 447.9 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/0.3809, allocations: 26.81 kB / 447.9 MB, free: 15 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.0003458/0.3812, allocations: 182.9 kB / 448.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.3813, allocations: 51.08 kB / 448.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.3815, allocations: 64.72 kB / 448.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.3815, allocations: 6.219 kB / 448.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.001e-05/0.3815, allocations: 3.469 kB / 448.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.3815, allocations: 2.578 kB / 448.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/0.3842, allocations: 1.295 MB / 449.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.3842, allocations: 2 kB / 449.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.3845, allocations: 70.52 kB / 449.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004457/0.385, allocations: 169.1 kB / 449.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.385, allocations: 8.25 kB / 449.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004492/0.3895, allocations: 4.105 MB / 453.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3895, allocations: 1.5 kB / 453.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.3909, allocations: 0.6957 MB / 454.6 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.3911, allocations: 128.9 kB / 454.7 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.3911, allocations: 12.78 kB / 454.7 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.3914, allocations: 24.73 kB / 454.7 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.3916, allocations: 43.7 kB / 454.8 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.3916, allocations: 16.23 kB / 454.8 MB, free: 9.793 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003791/0.392, allocations: 282.9 kB / 455.1 MB, free: 9.652 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.392, allocations: 0 / 455.1 MB, free: 9.652 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008476/0.3928, allocations: 155.2 kB / 455.2 MB, free: 9.629 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.001743/0.3946, allocations: 1.253 MB / 456.5 MB, free: 8.695 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001752/0.3963, allocations: 0.7643 MB / 457.2 MB, free: 8.262 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3963, allocations: 1.312 kB / 457.2 MB, free: 8.262 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008637/0.3972, allocations: 0.5107 MB / 457.7 MB, free: 7.922 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004682/0.3976, allocations: 55.44 kB / 457.8 MB, free: 7.883 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007612/0.4053, allocations: 4.653 MB / 462.4 MB, free: 5.109 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005739/0.4058, allocations: 0.862 MB / 463.3 MB, free: 4.402 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001818/0.406, allocations: 45.14 kB / 463.3 MB, free: 4.391 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.4063, allocations: 178.8 kB / 463.5 MB, free: 4.258 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4063, allocations: 4 kB / 463.5 MB, free: 4.254 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0363/0.4426, allocations: 9.942 MB / 473.5 MB, free: 0 / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.63, allocations: 2.656 kB / 473.5 MB, free: 0 / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.167293696955312] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 11.77275154797826 11.785813209 11.423969278 Calling exit ...