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.001392/0.001392, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001404/0.001404, allocations: 205.5 kB / 24.51 MB, free: 3.945 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.45/1.45, allocations: 230.5 MB / 258.2 MB, free: 7.816 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.001849/0.001849, allocations: 63.89 kB / 378.5 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.27, allocations: 53.41 MB / 431.9 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005839/0.2758, allocations: 3.23 MB / 435.1 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.2782, allocations: 0.9153 MB / 436.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005089/0.2787, allocations: 11.94 kB / 436.1 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004492/0.2791, allocations: 99.08 kB / 436.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006992/0.2798, allocations: 162.7 kB / 436.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000562/0.2804, allocations: 171.7 kB / 436.5 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008914/0.2813, allocations: 0.6418 MB / 437.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003229/0.2816, allocations: 138 kB / 437.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004191/0.282, allocations: 251 kB / 437.5 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004335/0.2825, allocations: 274.7 kB / 437.8 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.2826, allocations: 52 kB / 437.8 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.2827, allocations: 52 kB / 437.9 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.2828, allocations: 131.5 kB / 438 MB, free: 376 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.2831, allocations: 230.8 kB / 438.2 MB, free: 144 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007581/0.2839, allocations: 0.6456 MB / 438.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.2839, allocations: 0 / 438.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.592e-06/0.2839, allocations: 0 / 438.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.645e-05/0.2839, allocations: 0 / 438.9 MB, free: 15.49 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.001792/0.2857, allocations: 0.8011 MB / 439.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.2858, allocations: 8.031 kB / 439.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.383e-05/0.2858, allocations: 21.44 kB / 439.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.2859, allocations: 90.7 kB / 439.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.2861, allocations: 68.52 kB / 439.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006204/0.2867, allocations: 294.1 kB / 440.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/0.2867, allocations: 41.69 kB / 440.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.311e-05/0.2868, allocations: 55.94 kB / 440.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000944/0.2878, allocations: 430.5 kB / 440.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.2878, allocations: 0 / 440.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.541e-05/0.2878, allocations: 24 kB / 440.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.2879, allocations: 15.98 kB / 440.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000924/0.2888, allocations: 385 kB / 441.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002694/0.2915, allocations: 1.328 MB / 442.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007221/0.2922, allocations: 300.8 kB / 442.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000416/0.2926, allocations: 165.4 kB / 442.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.2926, allocations: 8.328 kB / 442.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.2927, allocations: 38.89 kB / 442.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.044e-06/0.2927, allocations: 0 / 442.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003662/0.2963, allocations: 1.207 MB / 444.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.2964, allocations: 59.91 kB / 444.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005304/0.2969, allocations: 409.5 kB / 444.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.297, allocations: 37.7 kB / 444.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.2972, allocations: 308.7 kB / 444.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.2974, allocations: 190.3 kB / 445.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.2975, allocations: 118.2 kB / 445.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.2977, allocations: 354.8 kB / 445.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/0.2982, allocations: 185.1 kB / 445.8 MB, free: 8.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005291/0.2987, allocations: 303 kB / 446 MB, free: 8.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009593/0.2997, allocations: 495.9 kB / 446.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.2997, allocations: 4 kB / 446.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001533/0.3012, allocations: 0.7289 MB / 447.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.3012, allocations: 11.98 kB / 447.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3012, allocations: 0 / 447.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005776/0.3018, allocations: 185.6 kB / 447.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/0.3023, allocations: 115.8 kB / 447.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004663/0.307, allocations: 4.028 MB / 451.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004757/0.3074, allocations: 31.94 kB / 451.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.623e-05/0.3075, allocations: 20 kB / 451.6 MB, free: 2.164 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.0003003/0.3078, allocations: 185.7 kB / 451.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.3079, allocations: 55.61 kB / 451.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.3081, allocations: 61.08 kB / 451.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.3081, allocations: 8.062 kB / 452 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.996e-05/0.3081, allocations: 4 kB / 452 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3081, allocations: 3.984 kB / 452 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00238/0.3105, allocations: 1.201 MB / 453.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.3105, allocations: 3.938 kB / 453.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/0.3108, allocations: 75.83 kB / 453.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004259/0.3112, allocations: 157.7 kB / 453.4 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.3112, allocations: 11.98 kB / 453.4 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003927/0.3152, allocations: 3.86 MB / 457.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.3152, allocations: 11.95 kB / 457.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.3164, allocations: 0.6924 MB / 458 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-05/0.3165, allocations: 51.66 kB / 458 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.514e-05/0.3166, allocations: 12 kB / 458 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.3169, allocations: 31.91 kB / 458.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.317, allocations: 40.36 kB / 458.1 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.317, allocations: 23.98 kB / 458.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003279/0.3173, allocations: 283.2 kB / 458.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3173, allocations: 0 / 458.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007235/0.3181, allocations: 152 kB / 458.6 MB, free: 10.92 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.001603/0.3197, allocations: 1.24 MB / 459.8 MB, free: 9.629 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.3212, allocations: 0.7619 MB / 460.6 MB, free: 8.844 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.3212, allocations: 4 kB / 460.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008074/0.322, allocations: 0.5036 MB / 461.1 MB, free: 8.312 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/0.3225, allocations: 52.95 kB / 461.1 MB, free: 8.266 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00727/0.3298, allocations: 4.662 MB / 465.8 MB, free: 3.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.3301, allocations: 263 kB / 466 MB, free: 3.125 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001885/0.3303, allocations: 48.36 kB / 466.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.3305, allocations: 175.4 kB / 466.2 MB, free: 2.902 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3305, allocations: 0 / 466.2 MB, free: 2.902 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04285/0.3734, allocations: 10.47 MB / 476.7 MB, free: 8.602 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.22, allocations: 6.812 kB / 476.7 MB, free: 8.598 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.67513562797103] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 13.407155179069377 13.437351535 13.147484072 Calling exit ...