Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.001609/0.001609, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001484/0.001484, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.484/1.484, allocations: 230.4 MB / 254.7 MB, free: 14.83 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2305/0.2305, allocations: 46.93 MB / 357.7 MB, free: 10.16 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.00228/0.00228, allocations: 83.86 kB / 0.4917 GB, free: 7.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1269, allocations: 66.03 MB / 0.5561 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003908/0.1308, allocations: 2.498 MB / 0.5586 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.1326, allocations: 1.11 MB / 0.5597 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.563e-05/0.1327, allocations: 8 kB / 0.5597 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.134, allocations: 0.5018 MB / 0.5602 GB, free: 1.391 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.1343, allocations: 111.2 kB / 0.5603 GB, free: 1.281 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009495/0.1352, allocations: 494 kB / 0.5607 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003443/0.1355, allocations: 219 kB / 0.5609 GB, free: 0.582 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004143/0.136, allocations: 206.2 kB / 0.5611 GB, free: 388 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.1361, allocations: 99.7 kB / 0.5612 GB, free: 288 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.1363, allocations: 131.5 kB / 0.5614 GB, free: 156 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.39e-05/0.1363, allocations: 24 kB / 0.5614 GB, free: 132 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003358/0.1367, allocations: 155.8 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.1367, allocations: 43.86 kB / 0.5616 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.1368, allocations: 127.4 kB / 0.5617 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000557/0.1374, allocations: 402.5 kB / 0.5621 GB, free: 15.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1374, allocations: 0 / 0.5621 GB, free: 15.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1374, allocations: 0 / 0.5621 GB, free: 15.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1374, allocations: 0 / 0.5621 GB, free: 15.41 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001433/0.1388, allocations: 0.6275 MB / 0.5627 GB, free: 14.74 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.1389, allocations: 8.031 kB / 0.5627 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.294e-05/0.139, allocations: 54.73 kB / 0.5628 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003199/0.1393, allocations: 56.7 kB / 0.5628 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.1395, allocations: 192.1 kB / 0.563 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.1395, allocations: 20.94 kB / 0.563 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/0.1396, allocations: 24.38 kB / 0.563 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006353/0.1402, allocations: 295.5 kB / 0.5633 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.1402, allocations: 0 / 0.5633 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.1403, allocations: 8 kB / 0.5633 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1403, allocations: 8 kB / 0.5633 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006143/0.1409, allocations: 225.6 kB / 0.5635 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.1426, allocations: 1.005 MB / 0.5645 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000567/0.1431, allocations: 366.8 kB / 0.5649 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.1435, allocations: 133.6 kB / 0.565 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002094/0.1437, allocations: 170.2 kB / 0.5652 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.1437, allocations: 30.56 kB / 0.5652 GB, free: 11.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=19): time 1.893e-06/0.1437, allocations: 4 kB / 0.5652 GB, free: 11.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.001293/0.145, allocations: 0.4995 MB / 0.5657 GB, free: 11.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.1451, allocations: 77.11 kB / 0.5658 GB, free: 11.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.1452, allocations: 147.6 kB / 0.5659 GB, free: 11.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.1453, allocations: 25.7 kB / 0.5659 GB, free: 11.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.1454, allocations: 140.4 kB / 0.5661 GB, free: 10.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.623e-05/0.1455, allocations: 71.33 kB / 0.5661 GB, free: 10.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-05/0.1455, allocations: 41.7 kB / 0.5662 GB, free: 10.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.1457, allocations: 322.9 kB / 0.5665 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.146, allocations: 79.91 kB / 0.5666 GB, free: 10.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/0.1462, allocations: 125.9 kB / 0.5667 GB, free: 10.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000502/0.1467, allocations: 203.3 kB / 0.5669 GB, free: 10.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1467, allocations: 0 / 0.5669 GB, free: 10.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007445/0.1475, allocations: 274.9 kB / 0.5671 GB, free: 9.805 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1475, allocations: 12.19 kB / 0.5671 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1475, allocations: 0 / 0.5671 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002247/0.1477, allocations: 53.69 kB / 0.5672 GB, free: 9.734 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.1479, allocations: 43.91 kB / 0.5672 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/0.1505, allocations: 2.836 MB / 0.57 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.1507, allocations: 27.83 kB / 0.57 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.1508, allocations: 11.94 kB / 0.57 GB, free: 6.531 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000179/0.1509, allocations: 137.8 kB / 0.5702 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.355e-05/0.151, allocations: 15.95 kB / 0.5702 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007414/0.1517, allocations: 270.4 kB / 0.5704 GB, free: 6.098 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.1517, allocations: 12 kB / 0.5705 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1517, allocations: 0 / 0.5705 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1518, allocations: 0 / 0.5705 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.1531, allocations: 0.6555 MB / 0.5711 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1531, allocations: 0 / 0.5711 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.1533, allocations: 35.97 kB / 0.5711 GB, free: 5.324 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001717/0.1535, allocations: 45.69 kB / 0.5712 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.1535, allocations: 8 kB / 0.5712 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002479/0.156, allocations: 2.84 MB / 0.574 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.156, allocations: 4.031 kB / 0.574 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.1571, allocations: 0.5201 MB / 0.5745 GB, free: 1.594 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.1572, allocations: 89.05 kB / 0.5746 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.1572, allocations: 4 kB / 0.5746 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.1574, allocations: 23.98 kB / 0.5746 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.143e-05/0.1575, allocations: 27.91 kB / 0.5746 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.1575, allocations: 8 kB / 0.5746 GB, free: 1.426 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000117/0.1576, allocations: 103.3 kB / 0.5747 GB, free: 1.324 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1576, allocations: 0 / 0.5747 GB, free: 1.324 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005253/0.1581, allocations: 75.78 kB / 0.5748 GB, free: 1.25 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001514/0.1597, allocations: 1.084 MB / 0.5758 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009072/0.1606, allocations: 410.2 kB / 0.5762 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1606, allocations: 0 / 0.5762 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005017/0.1611, allocations: 329.6 kB / 0.5766 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.1615, allocations: 16 kB / 0.5766 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.1653, allocations: 2.35 MB / 0.5789 GB, free: 12.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.1657, allocations: 0.7321 MB / 0.5796 GB, free: 12.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.563e-05/0.1658, allocations: 21.41 kB / 0.5796 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.1659, allocations: 59.42 kB / 0.5797 GB, free: 12.02 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1659, allocations: 0 / 0.5797 GB, free: 12.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03539/0.2012, allocations: 4.471 MB / 0.584 GB, free: 7.715 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.43, allocations: 14.66 kB / 0.584 GB, free: 7.703 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.674796054139733] Failed to read output from testmodel.py, exit status != 0: ['time', 'reluctance.abs_V_m', 'reluctance.abs_Phi', 'permeance.abs_V_m', 'permeance.abs_Phi', 'magFluxSource.gamma'] 10.516694083809853 10.741522643 10.601396484 Calling exit ...