Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001472/0.001472, allocations: 118.9 kB / 18.5 MB, free: 4.621 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.001777/0.001777, allocations: 206.6 kB / 21.46 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.535/1.535, allocations: 230.5 MB / 254.8 MB, free: 15.27 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-beta.om/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_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 75.81 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1279, allocations: 53.32 MB / 427 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.006081/0.134, allocations: 3.544 MB / 430.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.1363, allocations: 0.9736 MB / 431.5 MB, free: 276 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.1365, allocations: 11.94 kB / 431.5 MB, free: 264 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004145/0.1369, allocations: 95.09 kB / 431.6 MB, free: 168 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004542/0.1374, allocations: 170.8 kB / 431.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.1378, allocations: 167.8 kB / 432 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006905/0.1385, allocations: 0.6386 MB / 432.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002953/0.1388, allocations: 141.5 kB / 432.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004207/0.1392, allocations: 243 kB / 433 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003411/0.1395, allocations: 274.7 kB / 433.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.923e-05/0.1396, allocations: 52 kB / 433.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.843e-05/0.1397, allocations: 52 kB / 433.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1398, allocations: 119.5 kB / 433.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002756/0.1401, allocations: 290.5 kB / 433.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007091/0.1408, allocations: 0.63 MB / 434.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1408, allocations: 4 kB / 434.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1408, allocations: 4 kB / 434.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.1408, allocations: 7.938 kB / 434.4 MB, free: 13.38 MB / 366.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.001664/0.1425, allocations: 0.8686 MB / 435.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.405e-05/0.1425, allocations: 12.03 kB / 435.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.1427, allocations: 94.64 kB / 435.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.1428, allocations: 64.52 kB / 435.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005587/0.1433, allocations: 355.9 kB / 435.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.207e-05/0.1434, allocations: 41.62 kB / 435.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.434e-05/0.1435, allocations: 56.12 kB / 435.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009495/0.1444, allocations: 438.5 kB / 436.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1444, allocations: 0 / 436.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.56e-05/0.1445, allocations: 20 kB / 436.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.1445, allocations: 12 kB / 436.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008939/0.1454, allocations: 385 kB / 436.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/0.1482, allocations: 1.589 MB / 438.3 MB, free: 9.266 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008916/0.1491, allocations: 378 kB / 438.7 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004265/0.1495, allocations: 165.4 kB / 438.8 MB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.607e-05/0.1495, allocations: 12.38 kB / 438.8 MB, free: 8.691 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.1496, allocations: 34.89 kB / 438.9 MB, free: 8.648 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 1.784e-06/0.1496, allocations: 0 / 438.9 MB, free: 8.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=55): time 0.00362/0.1532, allocations: 1.192 MB / 440.1 MB, free: 7.445 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.1532, allocations: 55.97 kB / 440.1 MB, free: 7.379 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005207/0.1538, allocations: 413.5 kB / 440.5 MB, free: 6.969 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.1538, allocations: 33.7 kB / 440.6 MB, free: 6.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.154, allocations: 316.6 kB / 440.9 MB, free: 6.613 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/0.1543, allocations: 190.3 kB / 441.1 MB, free: 6.426 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.1545, allocations: 110.3 kB / 441.2 MB, free: 6.309 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.1547, allocations: 362.8 kB / 441.5 MB, free: 5.945 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004489/0.1551, allocations: 181.2 kB / 441.7 MB, free: 5.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000556/0.1557, allocations: 295.2 kB / 442 MB, free: 5.441 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.1567, allocations: 494.5 kB / 442.5 MB, free: 4.918 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1567, allocations: 7.875 kB / 442.5 MB, free: 4.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0016/0.1583, allocations: 0.7345 MB / 443.2 MB, free: 4.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.1584, allocations: 8 kB / 443.2 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.1584, allocations: 4 kB / 443.2 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005696/0.1589, allocations: 189.3 kB / 443.4 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005679/0.1595, allocations: 111.8 kB / 443.5 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2324/0.3919, allocations: 4.27 MB / 447.8 MB, free: 22.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005463/0.3924, allocations: 31.16 kB / 447.8 MB, free: 22.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.293e-05/0.3925, allocations: 22.16 kB / 447.8 MB, free: 22.57 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.0002411/0.3927, allocations: 184.9 kB / 448 MB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.923e-05/0.3928, allocations: 50.7 kB / 448.1 MB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.393, allocations: 64.3 kB / 448.1 MB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.393, allocations: 6.469 kB / 448.1 MB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.131e-05/0.393, allocations: 3.125 kB / 448.1 MB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.393, allocations: 8.047 kB / 448.1 MB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/0.3953, allocations: 1.299 MB / 449.4 MB, free: 22.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.3953, allocations: 0.8125 kB / 449.4 MB, free: 22.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.3956, allocations: 65.53 kB / 449.5 MB, free: 22.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005043/0.3961, allocations: 167.8 kB / 449.7 MB, free: 22.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/0.3962, allocations: 11.16 kB / 449.7 MB, free: 22.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003448/0.3996, allocations: 4.107 MB / 453.8 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3996, allocations: 3.25 kB / 453.8 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.4012, allocations: 0.6991 MB / 454.5 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.4013, allocations: 122.2 kB / 454.6 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.447e-05/0.4014, allocations: 14.69 kB / 454.6 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/0.4017, allocations: 26.31 kB / 454.6 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.4018, allocations: 49.86 kB / 454.7 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.4019, allocations: 14.53 kB / 454.7 MB, free: 18.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005563/0.4024, allocations: 282.2 kB / 455 MB, free: 18.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4024, allocations: 0 / 455 MB, free: 18.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009117/0.4033, allocations: 153.4 kB / 455.1 MB, free: 18.31 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.001555/0.4049, allocations: 1.25 MB / 456.4 MB, free: 17.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.4066, allocations: 0.7615 MB / 457.1 MB, free: 17.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.4066, allocations: 1.125 kB / 457.2 MB, free: 17.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007989/0.4074, allocations: 0.5147 MB / 457.7 MB, free: 16.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005386/0.4079, allocations: 42.7 kB / 457.7 MB, free: 16.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008173/0.4161, allocations: 4.662 MB / 462.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.4165, allocations: 0.8596 MB / 463.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000206/0.4167, allocations: 54.08 kB / 463.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/0.417, allocations: 177.1 kB / 463.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of SimCode: time 9.82e-07/0.417, allocations: 1.125 kB / 463.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05009/0.4671, allocations: 9.918 MB / 473.4 MB, free: 10.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.99, allocations: 1.219 kB / 473.4 MB, free: 10.78 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv --start-time 0 --stop-time 0.05 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.686157254036516] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 12.082936710678041 12.094924265 11.95151585 Calling exit ...