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.001537/0.001537, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001587/0.001587, allocations: 197 kB / 24.5 MB, free: 4.008 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.428/1.428, allocations: 225.7 MB / 253.3 MB, free: 13.04 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.001486/0.001486, allocations: 47.92 kB / 371.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2612, allocations: 52.19 MB / 423.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004998/0.2662, allocations: 3.529 MB / 427 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.2678, allocations: 0.9231 MB / 427.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.268, allocations: 11.94 kB / 427.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.2683, allocations: 99.09 kB / 428 MB, free: 9.988 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.2686, allocations: 158.8 kB / 428.1 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.269, allocations: 179.6 kB / 428.3 MB, free: 9.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000619/0.2696, allocations: 0.6231 MB / 428.9 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.2699, allocations: 146 kB / 429.1 MB, free: 8.883 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/0.2702, allocations: 251 kB / 429.3 MB, free: 8.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003237/0.2705, allocations: 278.6 kB / 429.6 MB, free: 8.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.442e-05/0.2706, allocations: 52 kB / 429.7 MB, free: 8.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.732e-05/0.2707, allocations: 52 kB / 429.7 MB, free: 8.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.2708, allocations: 115.6 kB / 429.8 MB, free: 8.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002464/0.271, allocations: 290.5 kB / 430.1 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00065/0.2717, allocations: 0.6231 MB / 430.7 MB, free: 7.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2717, allocations: 0 / 430.7 MB, free: 7.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2717, allocations: 0 / 430.7 MB, free: 7.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.2717, allocations: 0 / 430.7 MB, free: 7.242 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.001492/0.2732, allocations: 0.7934 MB / 431.5 MB, free: 6.418 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.2732, allocations: 12.03 kB / 431.5 MB, free: 6.406 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.713e-05/0.2733, allocations: 17.44 kB / 431.5 MB, free: 6.387 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.2734, allocations: 98.62 kB / 431.6 MB, free: 6.281 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.2735, allocations: 60.56 kB / 431.7 MB, free: 6.223 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004997/0.274, allocations: 290.1 kB / 432 MB, free: 5.914 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/0.274, allocations: 41.69 kB / 432 MB, free: 5.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.759e-05/0.2741, allocations: 51.94 kB / 432.1 MB, free: 5.824 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008238/0.2749, allocations: 442.5 kB / 432.5 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.2749, allocations: 0 / 432.5 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.11e-05/0.275, allocations: 20 kB / 432.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.275, allocations: 16 kB / 432.5 MB, free: 5.348 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008478/0.2758, allocations: 385 kB / 432.9 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002481/0.2783, allocations: 1.505 MB / 434.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006807/0.279, allocations: 312.2 kB / 434.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003985/0.2794, allocations: 160.8 kB / 434.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.2794, allocations: 12.33 kB / 434.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.2795, allocations: 38.88 kB / 434.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.694e-06/0.2795, allocations: 0 / 434.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.003265/0.2827, allocations: 1.185 MB / 436.1 MB, free: 1.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.2828, allocations: 59.91 kB / 436.2 MB, free: 1.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004559/0.2832, allocations: 397.5 kB / 436.6 MB, free: 1.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.2833, allocations: 37.7 kB / 436.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.2835, allocations: 304.7 kB / 436.9 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.2836, allocations: 202.3 kB / 437.1 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.2838, allocations: 106.3 kB / 437.2 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.284, allocations: 362.8 kB / 437.6 MB, free: 160 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/0.2844, allocations: 177.2 kB / 437.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/0.2849, allocations: 303 kB / 438 MB, free: 15.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009326/0.2859, allocations: 499.9 kB / 438.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2859, allocations: 4 kB / 438.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00149/0.2874, allocations: 0.7368 MB / 439.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.2874, allocations: 8 kB / 439.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2874, allocations: 3.938 kB / 439.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005742/0.288, allocations: 192.8 kB / 439.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/0.2885, allocations: 107.9 kB / 439.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004555/0.293, allocations: 4.059 MB / 443.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/0.2935, allocations: 35.97 kB / 443.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.2935, allocations: 20 kB / 443.7 MB, free: 9.711 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.000256/0.2938, allocations: 184.7 kB / 443.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.258e-05/0.2939, allocations: 51.66 kB / 443.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.294, allocations: 57.03 kB / 444 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.294, allocations: 11.98 kB / 444 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/0.294, allocations: 4 kB / 444 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.294, allocations: 0 / 444 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/0.2964, allocations: 1.271 MB / 445.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-06/0.2964, allocations: 0 / 445.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/0.2967, allocations: 75.83 kB / 445.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000434/0.2971, allocations: 157.7 kB / 445.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.2972, allocations: 12 kB / 445.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003985/0.3012, allocations: 3.903 MB / 449.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3012, allocations: 3.938 kB / 449.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.3025, allocations: 0.6923 MB / 450.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.3026, allocations: 43.7 kB / 450.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.778e-05/0.3026, allocations: 12 kB / 450.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.3029, allocations: 23.98 kB / 450.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.303, allocations: 52.56 kB / 450.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.3031, allocations: 12.11 kB / 450.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003271/0.3034, allocations: 283.1 kB / 450.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3034, allocations: 3.938 kB / 450.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007137/0.3041, allocations: 152 kB / 450.7 MB, free: 2.383 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.001622/0.3057, allocations: 1.246 MB / 451.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.3073, allocations: 0.762 MB / 452.7 MB, free: 312 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3073, allocations: 4.062 kB / 452.7 MB, free: 308 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008574/0.3082, allocations: 0.5038 MB / 453.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.3086, allocations: 45.69 kB / 453.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007389/0.316, allocations: 4.623 MB / 457.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005551/0.3165, allocations: 0.863 MB / 458.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001825/0.3167, allocations: 52.36 kB / 458.8 MB, free: 9.961 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.317, allocations: 171.4 kB / 458.9 MB, free: 9.793 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.317, allocations: 0 / 458.9 MB, free: 9.793 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04289/0.3599, allocations: 10.26 MB / 469.2 MB, free: 15.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.49, allocations: 11.06 kB / 469.2 MB, free: 15.68 MB / 382.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.81547855597455] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 12.647251744987443 12.662214193 12.387314105 Calling exit ...