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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: 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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001192/0.001192, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001639/0.001639, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2273/0.2273, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002825/0.0002828, allocations: 15.92 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1372, allocations: 63.56 MB / 483.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003245/0.1405, allocations: 2.357 MB / 485.4 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.1422, allocations: 0.7673 MB / 486.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.1424, allocations: 4 kB / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.1427, allocations: 59.61 kB / 486.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.143, allocations: 91.58 kB / 486.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.1433, allocations: 99.91 kB / 486.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004282/0.1438, allocations: 390.5 kB / 486.8 MB, free: 368 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003912/0.1442, allocations: 121.1 kB / 486.9 MB, free: 248 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.1444, allocations: 127.4 kB / 487.1 MB, free: 120 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.1447, allocations: 151.2 kB / 487.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.558e-05/0.1448, allocations: 20 kB / 487.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.652e-05/0.1448, allocations: 16 kB / 487.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.393e-05/0.1449, allocations: 59.7 kB / 487.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002644/0.1452, allocations: 192.7 kB / 487.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004464/0.1456, allocations: 394.4 kB / 487.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.1457, allocations: 4 kB / 487.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.1457, allocations: 0 / 487.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1457, allocations: 0 / 487.9 MB, free: 15.29 MB / 366.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.001233/0.1469, allocations: 0.6201 MB / 488.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.147, allocations: 9.109 kB / 488.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.121e-05/0.1471, allocations: 48.36 kB / 488.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.1474, allocations: 286.5 kB / 488.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.1475, allocations: 25.38 kB / 488.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.739e-05/0.1475, allocations: 32.38 kB / 488.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.1482, allocations: 374.2 kB / 489.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.1483, allocations: 0 / 489.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.1483, allocations: 12 kB / 489.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1483, allocations: 12 kB / 489.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006675/0.149, allocations: 279.8 kB / 489.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002407/0.1514, allocations: 1.369 MB / 490.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005704/0.152, allocations: 214.5 kB / 491.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.1523, allocations: 91.56 kB / 491.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.556e-05/0.1523, allocations: 7.938 kB / 491.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/0.1524, allocations: 42.55 kB / 491.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.1524, allocations: 0 / 491.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009162/0.1533, allocations: 277.2 kB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.1535, allocations: 136.5 kB / 491.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004565/0.1539, allocations: 341.7 kB / 492 MB, free: 10.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.154, allocations: 29.7 kB / 492 MB, free: 10.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.1542, allocations: 247.5 kB / 492.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.454e-05/0.1543, allocations: 51.34 kB / 492.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.356e-05/0.1543, allocations: 29.7 kB / 492.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.1546, allocations: 342.8 kB / 492.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.1548, allocations: 92.5 kB / 492.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.1552, allocations: 176.2 kB / 493 MB, free: 9.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005768/0.1558, allocations: 279.4 kB / 493.2 MB, free: 9.527 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.1558, allocations: 4 kB / 493.2 MB, free: 9.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006868/0.1565, allocations: 325.1 kB / 493.6 MB, free: 9.199 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.1565, allocations: 8 kB / 493.6 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.1565, allocations: 4 kB / 493.6 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.1566, allocations: 4 kB / 493.6 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/0.157, allocations: 107.9 kB / 493.7 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.157, allocations: 7.938 kB / 493.7 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.1573, allocations: 59.5 kB / 493.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.1573, allocations: 8 kB / 493.8 MB, free: 9.004 MB / 366.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.000174/0.1575, allocations: 149.7 kB / 493.9 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.1576, allocations: 35.62 kB / 493.9 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.208e-05/0.1577, allocations: 34.41 kB / 494 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1577, allocations: 4 kB / 494 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.1577, allocations: 3.984 kB / 494 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1578, allocations: 0 / 494 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008361/0.1586, allocations: 0.5954 MB / 494.6 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1586, allocations: 288 / 494.6 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002928/0.1589, allocations: 71.88 kB / 494.6 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.1589, allocations: 4 kB / 494.6 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.1589, allocations: 8.031 kB / 494.7 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.159, allocations: 4 kB / 494.7 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.159, allocations: 3.938 kB / 494.7 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006663/0.1596, allocations: 426.5 kB / 495.1 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.1597, allocations: 104.7 kB / 495.2 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.1598, allocations: 15.92 kB / 495.2 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.16, allocations: 15.98 kB / 495.2 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/0.1601, allocations: 15.98 kB / 495.2 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.1601, allocations: 8 kB / 495.2 MB, free: 7.379 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002781/0.1604, allocations: 239.2 kB / 495.5 MB, free: 7.148 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1604, allocations: 0 / 495.5 MB, free: 7.148 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004034/0.1608, allocations: 75.75 kB / 495.5 MB, free: 7.074 MB / 366.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.0001678/0.161, allocations: 103.1 kB / 495.6 MB, free: 6.961 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005904/0.1616, allocations: 211.8 kB / 495.8 MB, free: 6.754 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.1616, allocations: 4.438 kB / 495.9 MB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.1619, allocations: 87.89 kB / 495.9 MB, free: 6.664 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.1624, allocations: 37.3 kB / 496 MB, free: 6.625 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1634, allocations: 0.7099 MB / 496.7 MB, free: 5.879 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.1638, allocations: 0.7794 MB / 497.5 MB, free: 5.074 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.1639, allocations: 17.95 kB / 497.5 MB, free: 5.051 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/0.164, allocations: 19.44 kB / 497.5 MB, free: 5.031 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.164, allocations: 4 kB / 497.5 MB, free: 5.027 MB / 366.1 MB Notification: Performance of Templates: time 0.004807/0.1688, allocations: 1.616 MB / 499.1 MB, free: 3.418 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches