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.001994/0.001994, allocations: 114.7 kB / 17.99 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003618/0.003618, allocations: 201.8 kB / 18.92 MB, free: 4.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.716/2.716, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4852/0.4852, allocations: 46.1 MB / 344.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 78.58 kB / 417.7 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1151, allocations: 62.43 MB / 480.1 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004084/0.1193, allocations: 2.726 MB / 482.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.1207, allocations: 0.7751 MB / 483.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.1209, allocations: 8 kB / 483.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.1212, allocations: 55.55 kB / 483.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.1215, allocations: 95.64 kB / 483.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.1218, allocations: 95.92 kB / 483.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000447/0.1223, allocations: 406.5 kB / 484.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002429/0.1225, allocations: 147.2 kB / 484.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.1227, allocations: 151.4 kB / 484.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.1229, allocations: 167.2 kB / 484.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.123, allocations: 32 kB / 484.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.992e-05/0.1231, allocations: 35.94 kB / 484.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.52e-05/0.1231, allocations: 83.69 kB / 484.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.1233, allocations: 183 kB / 485.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.1236, allocations: 319.2 kB / 485.4 MB, free: 348 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1236, allocations: 0 / 485.4 MB, free: 348 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1236, allocations: 4 kB / 485.4 MB, free: 344 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.1237, allocations: 0 / 485.4 MB, free: 344 kB / 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.001121/0.1248, allocations: 0.6613 MB / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1248, allocations: 13.11 kB / 486.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.545e-05/0.1249, allocations: 52.38 kB / 486.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.1252, allocations: 286.5 kB / 486.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.1253, allocations: 29.38 kB / 486.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.1253, allocations: 32.38 kB / 486.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006755/0.126, allocations: 354.2 kB / 486.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.126, allocations: 7.969 kB / 486.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.1261, allocations: 16 kB / 486.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1261, allocations: 8 kB / 486.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000611/0.1267, allocations: 263.8 kB / 487.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.1288, allocations: 1.354 MB / 488.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004899/0.1293, allocations: 202.5 kB / 488.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.1295, allocations: 75.56 kB / 488.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.1296, allocations: 4 kB / 488.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1296, allocations: 34.56 kB / 488.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.1296, allocations: 4 kB / 488.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007704/0.1304, allocations: 253 kB / 489 MB, free: 12.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.1304, allocations: 132.5 kB / 489.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/0.1308, allocations: 341.8 kB / 489.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.1309, allocations: 25.7 kB / 489.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.131, allocations: 247.5 kB / 489.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/0.1311, allocations: 51.38 kB / 489.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.1312, allocations: 57.89 kB / 489.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1314, allocations: 342.8 kB / 490.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.1316, allocations: 80.5 kB / 490.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.1319, allocations: 173 kB / 490.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005004/0.1324, allocations: 250.9 kB / 490.7 MB, free: 10.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1324, allocations: 0 / 490.7 MB, free: 10.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006448/0.1331, allocations: 301.5 kB / 491 MB, free: 10.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1331, allocations: 10.66 kB / 491 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1331, allocations: 4 kB / 491 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1331, allocations: 8.047 kB / 491 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.1335, allocations: 91.88 kB / 491.1 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.1336, allocations: 8.125 kB / 491.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.1339, allocations: 59.72 kB / 491.1 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.1339, allocations: 16 kB / 491.2 MB, free: 10.16 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.0001447/0.134, allocations: 149.7 kB / 491.3 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.1341, allocations: 27.62 kB / 491.3 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.89e-05/0.1342, allocations: 38.39 kB / 491.4 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1342, allocations: 3.984 kB / 491.4 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.1342, allocations: 4 kB / 491.4 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1343, allocations: 4 kB / 491.4 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008022/0.1351, allocations: 0.5914 MB / 492 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1351, allocations: 0 / 492 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002855/0.1354, allocations: 68.03 kB / 492 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1354, allocations: 0 / 492 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.1354, allocations: 7.938 kB / 492 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1354, allocations: 0 / 492 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1354, allocations: 4 kB / 492 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005394/0.136, allocations: 402.5 kB / 492.4 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.8e-05/0.136, allocations: 104.7 kB / 492.5 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.1361, allocations: 15.86 kB / 492.6 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.1363, allocations: 19.98 kB / 492.6 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.97e-05/0.1364, allocations: 11.98 kB / 492.6 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.1364, allocations: 8 kB / 492.6 MB, free: 8.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002342/0.1367, allocations: 235.2 kB / 492.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1367, allocations: 0 / 492.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003989/0.1371, allocations: 75.75 kB / 492.9 MB, free: 8.27 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.0001019/0.1372, allocations: 103.1 kB / 493 MB, free: 8.156 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005288/0.1377, allocations: 195.7 kB / 493.2 MB, free: 7.965 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.1377, allocations: 0 / 493.2 MB, free: 7.965 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.138, allocations: 92.62 kB / 493.3 MB, free: 7.875 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.1385, allocations: 29.69 kB / 493.3 MB, free: 7.848 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.1396, allocations: 0.7153 MB / 494 MB, free: 7.086 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.1399, allocations: 0.7753 MB / 494.8 MB, free: 6.285 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.783e-05/0.14, allocations: 23.44 kB / 494.8 MB, free: 6.262 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.14, allocations: 0 / 494.8 MB, free: 6.262 MB / 366.1 MB Notification: Performance of Templates: time 0.005312/0.1453, allocations: 3.172 MB / 498 MB, free: 3.082 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/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_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches