Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001413/0.001413, allocations: 131.4 kB / 17.8 MB, free: 5.215 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.001495/0.001495, allocations: 211.6 kB / 20.75 MB, free: 2.266 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.475/1.475, allocations: 230.5 MB / 254 MB, free: 15.17 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 46.91 MB / 357 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002467/0.002467, allocations: 76.16 kB / 0.491 GB, free: 7.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1377, allocations: 66.05 MB / 0.5555 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004644/0.1423, allocations: 2.692 MB / 0.5581 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.1442, allocations: 0.8022 MB / 0.5589 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003515/0.1446, allocations: 4 kB / 0.5589 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003467/0.1449, allocations: 67.39 kB / 0.5589 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004647/0.1454, allocations: 107.2 kB / 0.559 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004127/0.1458, allocations: 115.7 kB / 0.5591 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006746/0.1465, allocations: 418.3 kB / 0.5595 GB, free: 1.332 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000264/0.1467, allocations: 107.3 kB / 0.5596 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002933/0.147, allocations: 151.4 kB / 0.5598 GB, free: 1.074 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.1473, allocations: 167.2 kB / 0.5599 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.147e-05/0.1473, allocations: 39.98 kB / 0.56 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-05/0.1474, allocations: 32 kB / 0.56 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.635e-05/0.1475, allocations: 79.69 kB / 0.5601 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.1477, allocations: 187 kB / 0.5603 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006182/0.1484, allocations: 430.1 kB / 0.5607 GB, free: 160 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1484, allocations: 0 / 0.5607 GB, free: 160 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1484, allocations: 0 / 0.5607 GB, free: 160 kB / 414.1 MB Notification: Performance of Transformations before backend: time 2.301e-05/0.1484, allocations: 0 / 0.5607 GB, free: 160 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.001358/0.1497, allocations: 0.6804 MB / 0.5613 GB, free: 15.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.1498, allocations: 15.97 kB / 0.5614 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.142e-05/0.1499, allocations: 74.66 kB / 0.5614 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.704e-05/0.15, allocations: 44.7 kB / 0.5615 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.1504, allocations: 282.7 kB / 0.5617 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.1505, allocations: 29.36 kB / 0.5618 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.303e-05/0.1505, allocations: 32.38 kB / 0.5618 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008362/0.1514, allocations: 366 kB / 0.5622 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1514, allocations: 0 / 0.5622 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.1514, allocations: 12 kB / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.1514, allocations: 8 kB / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007349/0.1521, allocations: 267.8 kB / 0.5624 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002465/0.1546, allocations: 1.347 MB / 0.5637 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005486/0.1552, allocations: 194.6 kB / 0.5639 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.1554, allocations: 83.45 kB / 0.564 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.033e-05/0.1554, allocations: 4 kB / 0.564 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.1555, allocations: 34.56 kB / 0.564 GB, free: 12.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 2.184e-06/0.1555, allocations: 0 / 0.564 GB, free: 12.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008797/0.1564, allocations: 257.3 kB / 0.5643 GB, free: 12.19 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.158e-05/0.1565, allocations: 132.5 kB / 0.5644 GB, free: 12.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004287/0.1569, allocations: 337.7 kB / 0.5647 GB, free: 11.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.1569, allocations: 29.7 kB / 0.5648 GB, free: 11.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.1571, allocations: 248.1 kB / 0.565 GB, free: 11.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.25e-05/0.1572, allocations: 55.58 kB / 0.5651 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.1573, allocations: 57.97 kB / 0.5651 GB, free: 11.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1575, allocations: 342.8 kB / 0.5654 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.1577, allocations: 76.5 kB / 0.5655 GB, free: 10.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.1581, allocations: 176.7 kB / 0.5657 GB, free: 10.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006078/0.1587, allocations: 251.1 kB / 0.5659 GB, free: 10.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.1587, allocations: 4 kB / 0.5659 GB, free: 10.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007997/0.1595, allocations: 305.1 kB / 0.5662 GB, free: 10.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.1595, allocations: 5.969 kB / 0.5662 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.1595, allocations: 11.94 kB / 0.5662 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.1596, allocations: 4 kB / 0.5662 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/0.16, allocations: 91.86 kB / 0.5663 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.028e-05/0.16, allocations: 11.94 kB / 0.5663 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.1604, allocations: 52.2 kB / 0.5664 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.1604, allocations: 12 kB / 0.5664 GB, free: 9.883 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.0001853/0.1606, allocations: 153.7 kB / 0.5665 GB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.1607, allocations: 31.81 kB / 0.5666 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.117e-05/0.1608, allocations: 30.41 kB / 0.5666 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1608, allocations: 0 / 0.5666 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.1608, allocations: 8 kB / 0.5666 GB, free: 9.652 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.1608, allocations: 3.984 kB / 0.5666 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009852/0.1618, allocations: 0.5992 MB / 0.5672 GB, free: 8.977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.1618, allocations: 0 / 0.5672 GB, free: 8.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.1621, allocations: 55.94 kB / 0.5673 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1621, allocations: 0 / 0.5673 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.1621, allocations: 11.94 kB / 0.5673 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.1621, allocations: 7.938 kB / 0.5673 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1621, allocations: 4.156 kB / 0.5673 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006567/0.1628, allocations: 402.7 kB / 0.5677 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.1629, allocations: 108.9 kB / 0.5678 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.1629, allocations: 7.938 kB / 0.5678 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.1632, allocations: 19.97 kB / 0.5678 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.1633, allocations: 11.98 kB / 0.5678 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.1633, allocations: 12 kB / 0.5678 GB, free: 8.297 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002982/0.1636, allocations: 235.2 kB / 0.568 GB, free: 8.066 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1636, allocations: 0 / 0.568 GB, free: 8.066 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004378/0.164, allocations: 63.89 kB / 0.5681 GB, free: 8.004 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.0009977/0.165, allocations: 0.9313 MB / 0.569 GB, free: 7.027 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006088/0.1656, allocations: 191.6 kB / 0.5692 GB, free: 6.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1656, allocations: 0 / 0.5692 GB, free: 6.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.1659, allocations: 76.7 kB / 0.5693 GB, free: 6.766 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.1663, allocations: 31.81 kB / 0.5693 GB, free: 6.738 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/0.171, allocations: 3.007 MB / 0.5722 GB, free: 3.551 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.1715, allocations: 0.7753 MB / 0.573 GB, free: 2.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.1716, allocations: 26.2 kB / 0.573 GB, free: 2.723 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.1718, allocations: 103.4 kB / 0.5731 GB, free: 2.621 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1718, allocations: 4 kB / 0.5731 GB, free: 2.617 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.2015, allocations: 4.998 MB / 0.578 GB, free: 13.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.775/7.977, allocations: 6.641 kB / 0.578 GB, free: 13.69 MB / 446.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Magnetic_FluxTubes_Sources.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable constantSource.V_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv. Warning: Get data of variable constantSource.V_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv failed! Error: Could not read variable constantSource.Phi in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv. Warning: Get data of variable constantSource.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv failed! Error: Could not read variable signalSource.V_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv. Warning: Get data of variable signalSource.V_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv failed! Error: Could not read variable signalSource.Phi in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv. Warning: Get data of variable signalSource.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv failed! Error: Could not read variable constantSource1.Phi in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv. Warning: Get data of variable constantSource1.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv failed! Error: Could not read variable signalSource1.Phi in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv. Warning: Get data of variable signalSource1.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv failed! Error: Could not read variable signalSource1.V_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv. Warning: Get data of variable signalSource1.V_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.94065591902472]