Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.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.001324/0.001324, allocations: 120 kB / 18.5 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.001407/0.001407, allocations: 213.6 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.482/1.482, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2298/0.2298, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.FluxTubes.Sources,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sources,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sources",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.002414/0.002414, allocations: 87.84 kB / 0.4917 GB, free: 7.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1382, allocations: 66.03 MB / 0.5561 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.006105/0.1443, allocations: 2.696 MB / 0.5588 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.1463, allocations: 0.7983 MB / 0.5596 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.1465, allocations: 4 kB / 0.5596 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.1468, allocations: 67.31 kB / 0.5596 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.1471, allocations: 111.2 kB / 0.5597 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.1475, allocations: 111.8 kB / 0.5598 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007014/0.1482, allocations: 421.9 kB / 0.5602 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002752/0.1485, allocations: 107.2 kB / 0.5603 GB, free: 1.266 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.1487, allocations: 147.5 kB / 0.5605 GB, free: 1.121 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.149, allocations: 167.2 kB / 0.5606 GB, free: 0.957 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.1491, allocations: 40 kB / 0.5607 GB, free: 0.918 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.395e-05/0.1492, allocations: 32 kB / 0.5607 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.767e-05/0.1493, allocations: 79.69 kB / 0.5608 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.1495, allocations: 191 kB / 0.561 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007625/0.1503, allocations: 438 kB / 0.5614 GB, free: 196 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.1503, allocations: 0 / 0.5614 GB, free: 196 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1503, allocations: 0 / 0.5614 GB, free: 196 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.1503, allocations: 0 / 0.5614 GB, free: 196 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001366/0.1517, allocations: 0.6817 MB / 0.5621 GB, free: 15.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.1517, allocations: 8.031 kB / 0.5621 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.705e-05/0.1518, allocations: 74.72 kB / 0.5621 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.286e-05/0.1519, allocations: 44.66 kB / 0.5622 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.1523, allocations: 278.8 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.1523, allocations: 33.36 kB / 0.5625 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.128e-05/0.1524, allocations: 36.31 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007233/0.1531, allocations: 354.2 kB / 0.5628 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1531, allocations: 0 / 0.5628 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.1532, allocations: 12 kB / 0.5629 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.1532, allocations: 16 kB / 0.5629 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006832/0.1539, allocations: 271.7 kB / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.1563, allocations: 1.347 MB / 0.5644 GB, free: 12.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005528/0.1568, allocations: 190.6 kB / 0.5646 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.157, allocations: 79.45 kB / 0.5647 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.1571, allocations: 4 kB / 0.5647 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.1571, allocations: 38.56 kB / 0.5647 GB, free: 12.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 1.883e-06/0.1571, allocations: 0 / 0.5647 GB, free: 12.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009248/0.158, allocations: 253.4 kB / 0.565 GB, free: 12.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.1582, allocations: 128.5 kB / 0.5651 GB, free: 12.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004517/0.1586, allocations: 341.7 kB / 0.5654 GB, free: 11.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.1586, allocations: 29.7 kB / 0.5655 GB, free: 11.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/0.1589, allocations: 248.1 kB / 0.5657 GB, free: 11.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.874e-05/0.159, allocations: 51.58 kB / 0.5657 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.1591, allocations: 53.94 kB / 0.5658 GB, free: 11.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002273/0.1593, allocations: 350.8 kB / 0.5661 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.1596, allocations: 80.44 kB / 0.5662 GB, free: 10.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/0.1599, allocations: 172.7 kB / 0.5664 GB, free: 10.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005619/0.1605, allocations: 243.4 kB / 0.5666 GB, free: 10.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1605, allocations: 0 / 0.5666 GB, free: 10.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007455/0.1612, allocations: 321.3 kB / 0.5669 GB, free: 10.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1613, allocations: 11.94 kB / 0.5669 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.1613, allocations: 4 kB / 0.5669 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.1613, allocations: 4 kB / 0.5669 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004517/0.1617, allocations: 96.11 kB / 0.567 GB, free: 9.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.1618, allocations: 7.938 kB / 0.567 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.1621, allocations: 55.64 kB / 0.5671 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.1621, allocations: 12 kB / 0.5671 GB, free: 9.918 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001863/0.1623, allocations: 153.7 kB / 0.5672 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.1624, allocations: 27.81 kB / 0.5673 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.527e-05/0.1624, allocations: 38.41 kB / 0.5673 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1624, allocations: 0 / 0.5673 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.1625, allocations: 4 kB / 0.5673 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1625, allocations: 3.984 kB / 0.5673 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009658/0.1634, allocations: 0.5916 MB / 0.5679 GB, free: 9.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1634, allocations: 4.031 kB / 0.5679 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/0.1637, allocations: 59.88 kB / 0.568 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1637, allocations: 0 / 0.568 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.1637, allocations: 11.94 kB / 0.568 GB, free: 8.945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1637, allocations: 4 kB / 0.568 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1638, allocations: 0 / 0.568 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006526/0.1644, allocations: 406.7 kB / 0.5684 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.1645, allocations: 108.9 kB / 0.5685 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.1646, allocations: 7.938 kB / 0.5685 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.1648, allocations: 19.97 kB / 0.5685 GB, free: 8.359 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.646e-05/0.1649, allocations: 7.984 kB / 0.5685 GB, free: 8.352 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.1649, allocations: 12 kB / 0.5685 GB, free: 8.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002768/0.1652, allocations: 231.2 kB / 0.5687 GB, free: 8.113 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1652, allocations: 4 kB / 0.5687 GB, free: 8.109 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004233/0.1656, allocations: 67.89 kB / 0.5688 GB, free: 8.043 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001046/0.1666, allocations: 0.9356 MB / 0.5697 GB, free: 7.062 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006099/0.1672, allocations: 187.8 kB / 0.5699 GB, free: 6.879 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.1672, allocations: 4 kB / 0.5699 GB, free: 6.875 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.1675, allocations: 79.95 kB / 0.57 GB, free: 6.797 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.1679, allocations: 22.19 kB / 0.57 GB, free: 6.777 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004765/0.1727, allocations: 3.003 MB / 0.5729 GB, free: 3.594 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.1731, allocations: 0.7753 MB / 0.5737 GB, free: 2.793 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001257/0.1733, allocations: 30.16 kB / 0.5737 GB, free: 2.762 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.1734, allocations: 103.4 kB / 0.5738 GB, free: 2.66 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1734, allocations: 0 / 0.5738 GB, free: 2.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.2017, allocations: 5.018 MB / 0.5787 GB, free: 13.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.698/8.9, allocations: 7.938 kB / 0.5787 GB, free: 13.73 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sources.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.833238040097058] Failed to read output from testmodel.py, exit status != 0: ['time', 'constantSource.V_m', 'constantSource.Phi', 'signalSource.V_m', 'signalSource.Phi', 'constantSource1.Phi', 'constantSource1.V_m', 'signalSource1.Phi', 'signalSource1.V_m'] 8.983851379249245 9.000061247 8.846702262 Calling exit ...