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.001507/0.001507, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001593/0.001593, allocations: 212.6 kB / 24.51 MB, free: 3.941 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.416/1.416, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.001398/0.001398, allocations: 39.94 kB / 378.5 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2615, allocations: 53.36 MB / 431.9 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004977/0.2665, allocations: 3.249 MB / 435.1 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.2682, allocations: 0.9153 MB / 436 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.2683, allocations: 4 kB / 436 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.2686, allocations: 99.08 kB / 436.1 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003763/0.269, allocations: 166.7 kB / 436.3 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.2693, allocations: 175.7 kB / 436.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006367/0.27, allocations: 0.6308 MB / 437.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002625/0.2702, allocations: 150 kB / 437.2 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.2705, allocations: 239 kB / 437.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/0.2709, allocations: 274.7 kB / 437.7 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.271, allocations: 56 kB / 437.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-05/0.2711, allocations: 52 kB / 437.8 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.2712, allocations: 127.5 kB / 438 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.2714, allocations: 234.8 kB / 438.2 MB, free: 292 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006718/0.2721, allocations: 0.6417 MB / 438.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2721, allocations: 0 / 438.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2721, allocations: 0 / 438.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.2721, allocations: 0 / 438.8 MB, free: 15.64 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.001462/0.2736, allocations: 0.7972 MB / 439.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.2736, allocations: 8.031 kB / 439.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.468e-05/0.2736, allocations: 13.5 kB / 439.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.2737, allocations: 102.6 kB / 439.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.92e-05/0.2738, allocations: 64.52 kB / 439.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/0.2743, allocations: 294.1 kB / 440.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/0.2744, allocations: 41.69 kB / 440.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.832e-05/0.2744, allocations: 51.94 kB / 440.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008649/0.2753, allocations: 438.4 kB / 440.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.2753, allocations: 4 kB / 440.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.945e-05/0.2754, allocations: 20 kB / 440.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.2754, allocations: 16 kB / 440.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008376/0.2762, allocations: 385 kB / 441 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00243/0.2787, allocations: 1.324 MB / 442.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006815/0.2793, allocations: 296.9 kB / 442.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003857/0.2797, allocations: 165.4 kB / 442.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.2798, allocations: 8.422 kB / 442.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.2798, allocations: 42.77 kB / 442.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.094e-06/0.2798, allocations: 4 kB / 442.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003264/0.2831, allocations: 1.199 MB / 444.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.2831, allocations: 59.84 kB / 444.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004935/0.2836, allocations: 413.6 kB / 444.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.2836, allocations: 33.7 kB / 444.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.2839, allocations: 316.6 kB / 444.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.284, allocations: 194.3 kB / 445.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.2842, allocations: 114.2 kB / 445.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.2844, allocations: 354.8 kB / 445.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004432/0.2849, allocations: 181.2 kB / 445.7 MB, free: 8.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005305/0.2854, allocations: 303.1 kB / 446 MB, free: 8.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009306/0.2863, allocations: 495.9 kB / 446.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2863, allocations: 0 / 446.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001491/0.2878, allocations: 0.7327 MB / 447.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.2878, allocations: 8 kB / 447.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.2878, allocations: 4 kB / 447.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000542/0.2884, allocations: 189.2 kB / 447.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/0.2889, allocations: 111.8 kB / 447.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004415/0.2933, allocations: 4.039 MB / 451.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003958/0.2937, allocations: 31.94 kB / 451.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/0.2937, allocations: 24 kB / 451.6 MB, free: 2.305 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.0002406/0.294, allocations: 179.8 kB / 451.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.753e-05/0.294, allocations: 59.59 kB / 451.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.2942, allocations: 57.08 kB / 451.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.2942, allocations: 8 kB / 451.9 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.2942, allocations: 8.25 kB / 451.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.2942, allocations: 3.984 kB / 451.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.2964, allocations: 1.197 MB / 453.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2964, allocations: 4 kB / 453.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.2967, allocations: 71.83 kB / 453.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004122/0.2971, allocations: 161.7 kB / 453.4 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.2972, allocations: 8 kB / 453.4 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003958/0.3011, allocations: 3.868 MB / 457.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.3011, allocations: 3.938 kB / 457.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.3024, allocations: 0.6923 MB / 457.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.088e-05/0.3025, allocations: 47.66 kB / 458 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.44e-05/0.3025, allocations: 12 kB / 458 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/0.3028, allocations: 27.97 kB / 458 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3029, allocations: 40.36 kB / 458 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.3029, allocations: 15.98 kB / 458.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003244/0.3033, allocations: 287.3 kB / 458.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3033, allocations: 7.875 kB / 458.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006808/0.3039, allocations: 156 kB / 458.5 MB, free: 11.08 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.001549/0.3055, allocations: 1.236 MB / 459.7 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.3071, allocations: 0.7613 MB / 460.5 MB, free: 9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3071, allocations: 0.8125 kB / 460.5 MB, free: 9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008378/0.308, allocations: 0.5113 MB / 461 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/0.3084, allocations: 45.58 kB / 461.1 MB, free: 8.422 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00723/0.3157, allocations: 4.663 MB / 465.7 MB, free: 3.562 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.3159, allocations: 267 kB / 466 MB, free: 3.273 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001776/0.3161, allocations: 44.36 kB / 466 MB, free: 3.227 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/0.3164, allocations: 179.4 kB / 466.2 MB, free: 3.051 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3164, allocations: 0 / 466.2 MB, free: 3.051 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03976/0.3561, allocations: 10.46 MB / 476.7 MB, free: 8.797 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.47, allocations: 19.17 kB / 476.7 MB, free: 8.781 MB / 382.1 MB " [Timeout remaining time 647] (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: 14.7891073130304] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 12.63554645201657 12.651328071 12.376254929 Calling exit ...