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.001159/0.001159, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00143/0.001431, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2028/0.2028, allocations: 46.1 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 73.2 kB / 418.2 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1166, allocations: 62.45 MB / 480.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004188/0.1208, allocations: 2.686 MB / 483.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.1223, allocations: 0.775 MB / 484.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002448/0.1226, allocations: 7.938 kB / 484.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.1229, allocations: 79.31 kB / 484.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.1232, allocations: 115.4 kB / 484.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.1236, allocations: 107.8 kB / 484.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004568/0.124, allocations: 406.6 kB / 484.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.1243, allocations: 147.2 kB / 485 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.1245, allocations: 151.4 kB / 485.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.1247, allocations: 175.2 kB / 485.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.832e-05/0.1248, allocations: 32 kB / 485.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.638e-05/0.1249, allocations: 32 kB / 485.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.706e-05/0.1249, allocations: 83.69 kB / 485.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.1251, allocations: 183 kB / 485.6 MB, free: 336 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003939/0.1255, allocations: 410.5 kB / 486 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1255, allocations: 0 / 486 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.288e-05/0.1256, allocations: 3.984 kB / 486 MB, free: 15.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.1256, allocations: 0 / 486 MB, free: 15.92 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.001138/0.1267, allocations: 0.6667 MB / 486.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.1268, allocations: 13.11 kB / 486.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.709e-05/0.1269, allocations: 48.36 kB / 486.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.1272, allocations: 278.6 kB / 487 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.1272, allocations: 25.38 kB / 487.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.77e-05/0.1273, allocations: 36.38 kB / 487.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006597/0.128, allocations: 362.2 kB / 487.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.128, allocations: 3.938 kB / 487.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.128, allocations: 16 kB / 487.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.128, allocations: 8 kB / 487.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006091/0.1287, allocations: 269.7 kB / 487.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.1307, allocations: 1.358 MB / 489.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005725/0.1313, allocations: 194.5 kB / 489.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.1316, allocations: 83.56 kB / 489.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.1316, allocations: 7.922 kB / 489.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.1316, allocations: 42.55 kB / 489.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 2.364e-06/0.1317, allocations: 4 kB / 489.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008283/0.1325, allocations: 245.1 kB / 489.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.1326, allocations: 132.5 kB / 489.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003415/0.1329, allocations: 337.8 kB / 490.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.133, allocations: 29.7 kB / 490.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.1331, allocations: 243.5 kB / 490.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.1332, allocations: 47.36 kB / 490.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.75e-05/0.1333, allocations: 57.89 kB / 490.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1334, allocations: 342.8 kB / 490.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.1336, allocations: 80.5 kB / 490.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.1339, allocations: 172.9 kB / 491.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004979/0.1344, allocations: 263 kB / 491.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1344, allocations: 0 / 491.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006653/0.1351, allocations: 301.5 kB / 491.6 MB, free: 9.922 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1351, allocations: 8 kB / 491.6 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.1352, allocations: 8.062 kB / 491.6 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.1352, allocations: 4 kB / 491.7 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.1356, allocations: 87.88 kB / 491.7 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.1356, allocations: 8.172 kB / 491.7 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.1359, allocations: 51.52 kB / 491.8 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.1359, allocations: 19.94 kB / 491.8 MB, free: 9.738 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.0001449/0.1361, allocations: 145.7 kB / 492 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.907e-05/0.1362, allocations: 31.62 kB / 492 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.301e-05/0.1363, allocations: 34.39 kB / 492 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1363, allocations: 4 kB / 492 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1363, allocations: 0 / 492 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1363, allocations: 4 kB / 492 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007856/0.1371, allocations: 0.5914 MB / 492.6 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1371, allocations: 4 kB / 492.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.1374, allocations: 56.09 kB / 492.7 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.1374, allocations: 4 kB / 492.7 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.1374, allocations: 15.88 kB / 492.7 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1374, allocations: 3.938 kB / 492.7 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.1374, allocations: 7.938 kB / 492.7 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005365/0.138, allocations: 397.5 kB / 493.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.732e-05/0.1381, allocations: 112.7 kB / 493.2 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.1381, allocations: 3.938 kB / 493.2 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.1384, allocations: 23.98 kB / 493.2 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.1384, allocations: 7.984 kB / 493.2 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.1385, allocations: 8 kB / 493.3 MB, free: 8.164 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002391/0.1387, allocations: 239.2 kB / 493.5 MB, free: 7.934 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1387, allocations: 0 / 493.5 MB, free: 7.934 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004083/0.1391, allocations: 75.75 kB / 493.6 MB, free: 7.859 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.0001184/0.1392, allocations: 103.1 kB / 493.7 MB, free: 7.746 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005574/0.1398, allocations: 191.7 kB / 493.8 MB, free: 7.559 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1398, allocations: 0 / 493.8 MB, free: 7.559 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.1401, allocations: 92.62 kB / 493.9 MB, free: 7.469 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/0.1405, allocations: 28.09 kB / 494 MB, free: 7.445 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.1416, allocations: 0.5864 MB / 494.6 MB, free: 6.812 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.1419, allocations: 0.7753 MB / 495.3 MB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.142, allocations: 23.44 kB / 495.4 MB, free: 5.988 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.142, allocations: 0 / 495.4 MB, free: 5.988 MB / 366.1 MB Notification: Performance of Templates: time 0.005596/0.1476, allocations: 3.186 MB / 498.5 MB, free: 2.797 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