Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,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.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,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.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 107.1 kB / 18.39 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 184.1 kB / 19.32 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 243 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.213/0.213, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 68.27 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1219, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004303/0.1262, allocations: 2.658 MB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.1277, allocations: 0.7439 MB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.128, allocations: 4 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.1283, allocations: 71.36 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.1287, allocations: 103.2 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.1291, allocations: 111.8 kB / 474.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005055/0.1296, allocations: 410.5 kB / 474.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.1298, allocations: 151.1 kB / 474.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.1301, allocations: 155.4 kB / 475.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.1304, allocations: 179.2 kB / 475.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.097e-05/0.1304, allocations: 32 kB / 475.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.603e-05/0.1305, allocations: 32 kB / 475.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.493e-05/0.1306, allocations: 75.7 kB / 475.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.1308, allocations: 183.1 kB / 475.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004014/0.1312, allocations: 418.5 kB / 476 MB, free: 8.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1312, allocations: 0 / 476 MB, free: 8.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1312, allocations: 0 / 476 MB, free: 8.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.1312, allocations: 0 / 476 MB, free: 8.316 MB / 350.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.001142/0.1324, allocations: 0.6628 MB / 476.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1324, allocations: 8.031 kB / 476.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.229e-05/0.1325, allocations: 48.45 kB / 476.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.1329, allocations: 268.7 kB / 477 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.1329, allocations: 29.38 kB / 477 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.133, allocations: 32.38 kB / 477 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000658/0.1337, allocations: 362.2 kB / 477.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1337, allocations: 3.938 kB / 477.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.1337, allocations: 19.94 kB / 477.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.1337, allocations: 8 kB / 477.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006011/0.1343, allocations: 267.8 kB / 477.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.1364, allocations: 1.342 MB / 479 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.1369, allocations: 194.6 kB / 479.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.1371, allocations: 87.5 kB / 479.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.1372, allocations: 0 / 479.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.1372, allocations: 46.55 kB / 479.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.072e-06/0.1372, allocations: 0 / 479.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007983/0.138, allocations: 245.3 kB / 479.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/0.1381, allocations: 128.5 kB / 479.7 MB, free: 4.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.1385, allocations: 332.4 kB / 480 MB, free: 3.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.1385, allocations: 29.7 kB / 480.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.1387, allocations: 235.6 kB / 480.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.1388, allocations: 51.3 kB / 480.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.322e-05/0.1389, allocations: 57.89 kB / 480.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.139, allocations: 346.7 kB / 480.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.1392, allocations: 80.5 kB / 480.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.1395, allocations: 168.1 kB / 481 MB, free: 2.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004788/0.14, allocations: 263.5 kB / 481.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.14, allocations: 0 / 481.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006402/0.1407, allocations: 308.9 kB / 481.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.1407, allocations: 4 kB / 481.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.1407, allocations: 4 kB / 481.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.1408, allocations: 4 kB / 481.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/0.1412, allocations: 96.11 kB / 481.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.1412, allocations: 11.94 kB / 481.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.1415, allocations: 43.58 kB / 481.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.1415, allocations: 11.98 kB / 481.7 MB, free: 2.18 MB / 350.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.0001574/0.1417, allocations: 153.7 kB / 481.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.1418, allocations: 23.72 kB / 481.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.946e-05/0.1419, allocations: 46.34 kB / 481.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1419, allocations: 0 / 481.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.1419, allocations: 4 kB / 481.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1419, allocations: 0 / 481.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007692/0.1427, allocations: 0.5836 MB / 482.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.1427, allocations: 8.156 kB / 482.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.143, allocations: 55.94 kB / 482.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.143, allocations: 7.938 kB / 482.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.143, allocations: 7.938 kB / 482.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.143, allocations: 0 / 482.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.143, allocations: 11.92 kB / 482.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.1435, allocations: 392.5 kB / 483 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.1436, allocations: 112.7 kB / 483.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.1437, allocations: 7.938 kB / 483.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.1439, allocations: 15.98 kB / 483.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.144, allocations: 15.98 kB / 483.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.144, allocations: 4 kB / 483.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002397/0.1443, allocations: 231 kB / 483.4 MB, free: 396 kB / 350.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1443, allocations: 0 / 483.4 MB, free: 396 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004089/0.1447, allocations: 75.75 kB / 483.4 MB, free: 320 kB / 350.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.0001153/0.1448, allocations: 99.19 kB / 483.5 MB, free: 208 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005401/0.1454, allocations: 188.1 kB / 483.7 MB, free: 20 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1454, allocations: 4.125 kB / 483.7 MB, free: 16 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.1456, allocations: 84.3 kB / 483.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.1461, allocations: 25.5 kB / 483.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009289/0.147, allocations: 0.5497 MB / 484.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.1474, allocations: 0.7714 MB / 485.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.1475, allocations: 30.2 kB / 485.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.1475, allocations: 19.44 kB / 485.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1475, allocations: 0 / 485.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of Templates: time 0.004926/0.1525, allocations: 1.809 MB / 487 MB, free: 12.66 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches