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.001454/0.001454, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001801/0.001801, allocations: 211 kB / 24.53 MB, free: 4.07 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.46/1.46, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.001861/0.001861, allocations: 59.91 kB / 378.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2623, allocations: 53.41 MB / 432 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005409/0.2677, allocations: 3.565 MB / 435.5 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.2698, allocations: 0.9697 MB / 436.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002697/0.27, allocations: 8 kB / 436.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.2704, allocations: 99.08 kB / 436.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000452/0.2708, allocations: 170.7 kB / 436.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004324/0.2712, allocations: 175.7 kB / 437 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007336/0.272, allocations: 0.6386 MB / 437.6 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002787/0.2722, allocations: 141.7 kB / 437.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003353/0.2726, allocations: 243.1 kB / 438 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003606/0.2729, allocations: 274.7 kB / 438.2 MB, free: 404 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.877e-05/0.273, allocations: 55.94 kB / 438.3 MB, free: 348 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.126e-05/0.2731, allocations: 55.94 kB / 438.3 MB, free: 292 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.2732, allocations: 123.5 kB / 438.5 MB, free: 168 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002762/0.2735, allocations: 278.5 kB / 438.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007419/0.2742, allocations: 0.6389 MB / 439.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2742, allocations: 4 kB / 439.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2742, allocations: 0 / 439.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.2743, allocations: 0 / 439.4 MB, free: 15.25 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.0016/0.2759, allocations: 0.8011 MB / 440.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.2759, allocations: 8.031 kB / 440.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.991e-05/0.2759, allocations: 13.5 kB / 440.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001096/0.276, allocations: 90.7 kB / 440.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.2762, allocations: 72.5 kB / 440.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005535/0.2767, allocations: 294.1 kB / 440.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.125e-05/0.2768, allocations: 41.69 kB / 440.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.221e-05/0.2768, allocations: 55.92 kB / 440.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008642/0.2777, allocations: 438.5 kB / 441.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.2777, allocations: 0 / 441.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-05/0.2778, allocations: 20 kB / 441.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.2778, allocations: 16 kB / 441.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000905/0.2787, allocations: 393 kB / 441.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002693/0.2814, allocations: 1.505 MB / 443.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007299/0.2821, allocations: 303.1 kB / 443.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004101/0.2825, allocations: 169.4 kB / 443.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.2826, allocations: 8.312 kB / 443.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.2826, allocations: 30.89 kB / 443.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.854e-06/0.2826, allocations: 4 kB / 443.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.00341/0.286, allocations: 1.199 MB / 444.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.2861, allocations: 59.91 kB / 444.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004873/0.2865, allocations: 409.5 kB / 445.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.2866, allocations: 33.7 kB / 445.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.2868, allocations: 316.6 kB / 445.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.287, allocations: 194.3 kB / 445.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.2871, allocations: 110.3 kB / 445.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.2873, allocations: 362.7 kB / 446.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004434/0.2878, allocations: 181.2 kB / 446.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005468/0.2883, allocations: 303.2 kB / 446.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009615/0.2893, allocations: 499.9 kB / 447.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2893, allocations: 96 / 447.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001595/0.2909, allocations: 0.7482 MB / 448 MB, free: 6.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.2909, allocations: 4 kB / 448 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.2909, allocations: 4 kB / 448 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005905/0.2915, allocations: 185.1 kB / 448.1 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005054/0.292, allocations: 111.8 kB / 448.3 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004597/0.2966, allocations: 4.067 MB / 452.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004787/0.2971, allocations: 35.92 kB / 452.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.333e-05/0.2971, allocations: 28.06 kB / 452.4 MB, free: 1.66 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.0002883/0.2974, allocations: 173.8 kB / 452.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.206e-05/0.2975, allocations: 55.59 kB / 452.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.2976, allocations: 61.06 kB / 452.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.2976, allocations: 8 kB / 452.7 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-05/0.2977, allocations: 4 kB / 452.7 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.2977, allocations: 0 / 452.7 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.3001, allocations: 1.264 MB / 453.9 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.3001, allocations: 7.938 kB / 454 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003147/0.3004, allocations: 72.02 kB / 454 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004254/0.3008, allocations: 165.5 kB / 454.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.3008, allocations: 12 kB / 454.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004079/0.3049, allocations: 3.888 MB / 458.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/0.3049, allocations: 15.97 kB / 458.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.3063, allocations: 0.6923 MB / 458.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.3064, allocations: 47.66 kB / 458.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/0.3064, allocations: 8 kB / 458.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/0.3067, allocations: 32.08 kB / 458.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.3068, allocations: 48.28 kB / 458.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.3069, allocations: 16 kB / 458.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003734/0.3072, allocations: 283.2 kB / 459.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3072, allocations: 0 / 459.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007519/0.308, allocations: 148 kB / 459.4 MB, free: 10.34 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.001704/0.3097, allocations: 1.244 MB / 460.6 MB, free: 9.051 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.3113, allocations: 0.769 MB / 461.4 MB, free: 8.254 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3113, allocations: 0 / 461.4 MB, free: 8.254 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008498/0.3122, allocations: 0.5045 MB / 461.9 MB, free: 7.727 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.3127, allocations: 55.47 kB / 461.9 MB, free: 7.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007606/0.3203, allocations: 4.663 MB / 466.6 MB, free: 2.816 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005623/0.3208, allocations: 0.8591 MB / 467.5 MB, free: 1.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001826/0.321, allocations: 48.36 kB / 467.5 MB, free: 1.879 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/0.3213, allocations: 179.4 kB / 467.7 MB, free: 1.703 MB / 366.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3213, allocations: 0 / 467.7 MB, free: 1.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03978/0.3611, allocations: 10.38 MB / 478.1 MB, free: 7.449 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13, allocations: 10.44 kB / 478.1 MB, free: 7.445 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.440901630965527] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 13.16886609501671 13.184822724 12.907363066 Calling exit ...