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.001215/0.001215, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001382, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2085/0.2085, allocations: 46.1 MB / 344.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 78.31 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1191, allocations: 62.45 MB / 479.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004406/0.1235, allocations: 2.716 MB / 482.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.1251, allocations: 0.7867 MB / 483.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000283/0.1254, allocations: 4 kB / 483.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.1257, allocations: 55.62 kB / 483.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.1262, allocations: 91.64 kB / 483.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.1265, allocations: 99.84 kB / 483.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005005/0.127, allocations: 390.5 kB / 484.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.1273, allocations: 125.1 kB / 484.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.1275, allocations: 139.4 kB / 484.3 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.1277, allocations: 159.2 kB / 484.5 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.988e-05/0.1278, allocations: 24 kB / 484.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.042e-05/0.1279, allocations: 20 kB / 484.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.549e-05/0.1279, allocations: 75.67 kB / 484.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.1281, allocations: 171 kB / 484.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.1284, allocations: 311.2 kB / 485.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1284, allocations: 0 / 485.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1284, allocations: 0 / 485.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.1284, allocations: 4 kB / 485.1 MB, free: 0.5391 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.001194/0.1296, allocations: 0.6707 MB / 485.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.1297, allocations: 13.11 kB / 485.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.1298, allocations: 48.38 kB / 485.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.1301, allocations: 278.5 kB / 486.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.1301, allocations: 29.38 kB / 486.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.1302, allocations: 32.38 kB / 486.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007121/0.1309, allocations: 366.2 kB / 486.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1309, allocations: 0 / 486.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.131, allocations: 12 kB / 486.5 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.131, allocations: 15.98 kB / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006611/0.1317, allocations: 263.8 kB / 486.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002102/0.1338, allocations: 1.361 MB / 488.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004875/0.1343, allocations: 194.6 kB / 488.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.1345, allocations: 79.56 kB / 488.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.1345, allocations: 0 / 488.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.1346, allocations: 42.5 kB / 488.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.203e-06/0.1346, allocations: 0 / 488.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.000806/0.1354, allocations: 253 kB / 488.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.018e-05/0.1355, allocations: 128.5 kB / 488.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003558/0.1359, allocations: 341.8 kB / 489.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1359, allocations: 25.7 kB / 489.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.136, allocations: 247.5 kB / 489.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.1361, allocations: 47.34 kB / 489.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.198e-05/0.1362, allocations: 57.89 kB / 489.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1363, allocations: 342.8 kB / 489.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.1366, allocations: 80.5 kB / 489.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.1369, allocations: 172.1 kB / 490.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004958/0.1374, allocations: 250.9 kB / 490.4 MB, free: 10.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1374, allocations: 0 / 490.4 MB, free: 10.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006411/0.1381, allocations: 309.4 kB / 490.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1381, allocations: 8 kB / 490.7 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.1381, allocations: 4 kB / 490.7 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1381, allocations: 7.984 kB / 490.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/0.1386, allocations: 91.94 kB / 490.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.1386, allocations: 12.2 kB / 490.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/0.1389, allocations: 47.52 kB / 490.8 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.1389, allocations: 12 kB / 490.8 MB, free: 10.36 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.0001563/0.1391, allocations: 153.7 kB / 491 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.92e-05/0.1392, allocations: 27.62 kB / 491 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.051e-05/0.1393, allocations: 38.69 kB / 491 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1393, allocations: 3.984 kB / 491.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1393, allocations: 0 / 491.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1393, allocations: 11.98 kB / 491.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008121/0.1401, allocations: 0.5875 MB / 491.7 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1401, allocations: 7.938 kB / 491.7 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002805/0.1404, allocations: 56.09 kB / 491.7 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.1404, allocations: 4 kB / 491.7 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.1405, allocations: 7.938 kB / 491.7 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1405, allocations: 0 / 491.7 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.1405, allocations: 7.938 kB / 491.7 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/0.141, allocations: 398.6 kB / 492.1 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.602e-05/0.1411, allocations: 104.7 kB / 492.2 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.1412, allocations: 15.92 kB / 492.2 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.1414, allocations: 19.92 kB / 492.3 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.1415, allocations: 15.92 kB / 492.3 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.1415, allocations: 8 kB / 492.3 MB, free: 8.766 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000243/0.1418, allocations: 235.2 kB / 492.5 MB, free: 8.539 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1418, allocations: 0 / 492.5 MB, free: 8.539 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004039/0.1422, allocations: 75.75 kB / 492.6 MB, free: 8.465 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.0001257/0.1423, allocations: 103.2 kB / 492.7 MB, free: 8.352 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005322/0.1429, allocations: 187.7 kB / 492.9 MB, free: 8.168 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1429, allocations: 0 / 492.9 MB, free: 8.168 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.1431, allocations: 84.64 kB / 493 MB, free: 8.086 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004988/0.1436, allocations: 29.36 kB / 493 MB, free: 8.055 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.1447, allocations: 0.7161 MB / 493.7 MB, free: 7.297 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.1451, allocations: 0.7755 MB / 494.5 MB, free: 6.496 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.44e-05/0.1452, allocations: 23.38 kB / 494.5 MB, free: 6.473 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1452, allocations: 0 / 494.5 MB, free: 6.473 MB / 366.1 MB Notification: Performance of Templates: time 0.005573/0.1508, allocations: 3.181 MB / 497.7 MB, free: 3.289 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