Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.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.001563/0.001563, allocations: 118 kB / 18.46 MB, free: 4.562 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.00184/0.00184, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.554/1.554, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2321/0.2321, allocations: 46.92 MB / 357.8 MB, free: 10.32 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+maint.om/package.mo) 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: translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 67.91 kB / 0.4921 GB, free: 7.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1353, allocations: 65.99 MB / 0.5565 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004668/0.14, allocations: 2.704 MB / 0.5591 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.1416, allocations: 0.7982 MB / 0.5599 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.1418, allocations: 4 kB / 0.5599 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.142, allocations: 71.38 kB / 0.56 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.1423, allocations: 103.2 kB / 0.5601 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.1426, allocations: 119.8 kB / 0.5602 GB, free: 1.566 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000485/0.1431, allocations: 422.3 kB / 0.5606 GB, free: 1.152 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.1433, allocations: 103.3 kB / 0.5607 GB, free: 1.047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.1435, allocations: 147.5 kB / 0.5608 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.1437, allocations: 171.2 kB / 0.561 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.494e-05/0.1437, allocations: 32 kB / 0.561 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.23e-05/0.1438, allocations: 35.94 kB / 0.5611 GB, free: 0.668 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.813e-05/0.1439, allocations: 83.67 kB / 0.5611 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.1441, allocations: 183 kB / 0.5613 GB, free: 416 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005301/0.1446, allocations: 430.1 kB / 0.5617 GB, free: 15.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1446, allocations: 0 / 0.5617 GB, free: 15.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1446, allocations: 0 / 0.5617 GB, free: 15.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.1446, allocations: 0 / 0.5617 GB, free: 15.98 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001181/0.1458, allocations: 0.6819 MB / 0.5624 GB, free: 15.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.1458, allocations: 13.11 kB / 0.5624 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.281e-05/0.1459, allocations: 44.64 kB / 0.5625 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.1464, allocations: 282.7 kB / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.1464, allocations: 29.38 kB / 0.5628 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-05/0.1464, allocations: 32.38 kB / 0.5628 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007136/0.1471, allocations: 366.2 kB / 0.5631 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1472, allocations: 0 / 0.5631 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/0.1472, allocations: 16 kB / 0.5631 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.1472, allocations: 8 kB / 0.5632 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006549/0.1479, allocations: 259.8 kB / 0.5634 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.15, allocations: 1.343 MB / 0.5647 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000515/0.1505, allocations: 194.5 kB / 0.5649 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.1508, allocations: 83.56 kB / 0.565 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.1508, allocations: 7.984 kB / 0.565 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.1508, allocations: 38.5 kB / 0.565 GB, free: 12.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.1508, allocations: 0 / 0.565 GB, free: 12.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008322/0.1517, allocations: 253.3 kB / 0.5653 GB, free: 12.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.1518, allocations: 136.5 kB / 0.5654 GB, free: 11.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003912/0.1521, allocations: 337.7 kB / 0.5657 GB, free: 11.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.1522, allocations: 33.83 kB / 0.5657 GB, free: 11.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.1524, allocations: 248.1 kB / 0.566 GB, free: 11.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.746e-05/0.1524, allocations: 51.59 kB / 0.566 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.1525, allocations: 61.88 kB / 0.5661 GB, free: 11.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1527, allocations: 346.7 kB / 0.5664 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.1529, allocations: 72.52 kB / 0.5665 GB, free: 10.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/0.1532, allocations: 172.2 kB / 0.5667 GB, free: 10.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005364/0.1538, allocations: 250.9 kB / 0.5669 GB, free: 10.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1538, allocations: 0 / 0.5669 GB, free: 10.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007003/0.1545, allocations: 317.2 kB / 0.5672 GB, free: 9.965 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1545, allocations: 8 kB / 0.5672 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1545, allocations: 0 / 0.5672 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.1545, allocations: 8 kB / 0.5672 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.1549, allocations: 91.8 kB / 0.5673 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/0.155, allocations: 4.156 kB / 0.5673 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.1552, allocations: 51.75 kB / 0.5674 GB, free: 9.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.1553, allocations: 15.98 kB / 0.5674 GB, free: 9.789 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.0001523/0.1554, allocations: 151.9 kB / 0.5675 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.1555, allocations: 35.8 kB / 0.5675 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.954e-05/0.1556, allocations: 34.41 kB / 0.5676 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.1556, allocations: 4 kB / 0.5676 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1556, allocations: 0 / 0.5676 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1556, allocations: 0 / 0.5676 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008385/0.1564, allocations: 0.592 MB / 0.5682 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.1564, allocations: 4 kB / 0.5682 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.1567, allocations: 59.88 kB / 0.5682 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.1567, allocations: 8.156 kB / 0.5682 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.1568, allocations: 7.938 kB / 0.5682 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.1568, allocations: 4 kB / 0.5682 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.1568, allocations: 4 kB / 0.5682 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005965/0.1574, allocations: 403 kB / 0.5686 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.611e-05/0.1574, allocations: 108.9 kB / 0.5687 GB, free: 8.258 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.1575, allocations: 7.938 kB / 0.5687 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.1577, allocations: 19.97 kB / 0.5688 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.544e-05/0.1578, allocations: 23.92 kB / 0.5688 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.1578, allocations: 4 kB / 0.5688 GB, free: 8.203 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002576/0.1581, allocations: 239.2 kB / 0.569 GB, free: 7.969 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1581, allocations: 0 / 0.569 GB, free: 7.969 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004008/0.1585, allocations: 71.89 kB / 0.5691 GB, free: 7.898 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.0001171/0.1586, allocations: 95.19 kB / 0.5692 GB, free: 7.793 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005789/0.1592, allocations: 191.7 kB / 0.5694 GB, free: 7.605 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1592, allocations: 0 / 0.5694 GB, free: 7.605 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000244/0.1594, allocations: 80.64 kB / 0.5694 GB, free: 7.527 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.1598, allocations: 35.19 kB / 0.5695 GB, free: 7.496 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.1609, allocations: 0.5935 MB / 0.57 GB, free: 6.848 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.1613, allocations: 0.7753 MB / 0.5708 GB, free: 6.047 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.399e-05/0.1614, allocations: 27.38 kB / 0.5708 GB, free: 6.02 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1614, allocations: 3.938 kB / 0.5708 GB, free: 6.016 MB / 430.1 MB Notification: Performance of Templates: time 0.005706/0.1671, allocations: 3.218 MB / 0.574 GB, free: 2.797 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/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_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.444778334989678]