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.001098/0.001098, allocations: 106.4 kB / 17.33 MB, free: 5.996 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.001297/0.001297, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.356/1.356, allocations: 222.9 MB / 241.9 MB, free: 15.38 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.2218/0.2218, allocations: 44.17 MB / 336.2 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 59.72 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1259, allocations: 60.82 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004029/0.13, allocations: 2.684 MB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.1312, allocations: 0.7517 MB / 472.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.1314, allocations: 4 kB / 472.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.1316, allocations: 47.64 kB / 472.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.1319, allocations: 87.42 kB / 472.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.1322, allocations: 95.84 kB / 472.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000464/0.1327, allocations: 418.5 kB / 472.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003063/0.133, allocations: 143.4 kB / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002785/0.1333, allocations: 159.4 kB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/0.1336, allocations: 167.2 kB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.757e-05/0.1336, allocations: 32 kB / 473.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.915e-05/0.1337, allocations: 39.94 kB / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.649e-05/0.1338, allocations: 79.67 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.134, allocations: 179.1 kB / 473.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003785/0.1343, allocations: 418.5 kB / 474 MB, free: 9.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.1344, allocations: 4 kB / 474 MB, free: 9.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1344, allocations: 0 / 474 MB, free: 9.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.1344, allocations: 3.938 kB / 474 MB, free: 9.422 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.001046/0.1354, allocations: 0.6589 MB / 474.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1355, allocations: 8.031 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.784e-05/0.1356, allocations: 40.47 kB / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.1359, allocations: 272.7 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.1359, allocations: 25.38 kB / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.136, allocations: 36.36 kB / 475 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006614/0.1366, allocations: 366.2 kB / 475.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1367, allocations: 0 / 475.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.584e-05/0.1367, allocations: 16 kB / 475.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.1367, allocations: 11.94 kB / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006347/0.1374, allocations: 259.8 kB / 475.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.1394, allocations: 1.354 MB / 477 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004897/0.1399, allocations: 198.5 kB / 477.2 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.1401, allocations: 79.56 kB / 477.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.1402, allocations: 4 kB / 477.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.1402, allocations: 42.55 kB / 477.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 4.117e-06/0.1402, allocations: 0 / 477.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007515/0.141, allocations: 245.2 kB / 477.6 MB, free: 5.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.141, allocations: 132.5 kB / 477.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.1414, allocations: 332.4 kB / 478 MB, free: 5.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.1414, allocations: 29.7 kB / 478.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.1416, allocations: 235.6 kB / 478.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.361e-05/0.1416, allocations: 51.3 kB / 478.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.933e-05/0.1417, allocations: 57.89 kB / 478.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1419, allocations: 350.8 kB / 478.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.1421, allocations: 76.5 kB / 478.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.1424, allocations: 164.2 kB / 479 MB, free: 4.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.1429, allocations: 250.9 kB / 479.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1429, allocations: 0 / 479.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006143/0.1435, allocations: 313.1 kB / 479.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1435, allocations: 4 kB / 479.5 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.1435, allocations: 4.562 kB / 479.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1436, allocations: 4.297 kB / 479.5 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/0.144, allocations: 103.8 kB / 479.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.144, allocations: 8 kB / 479.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.1443, allocations: 51.52 kB / 479.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.1443, allocations: 8 kB / 479.7 MB, free: 3.293 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.0001436/0.1445, allocations: 157.6 kB / 479.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.995e-05/0.1446, allocations: 27.72 kB / 479.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.097e-05/0.1446, allocations: 38.41 kB / 479.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1447, allocations: 0 / 479.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1447, allocations: 7.938 kB / 479.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1447, allocations: 0 / 479.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007556/0.1454, allocations: 0.5875 MB / 480.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1455, allocations: 4 kB / 480.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.1457, allocations: 55.88 kB / 480.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.1457, allocations: 4 kB / 480.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.1458, allocations: 7.938 kB / 480.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1458, allocations: 4 kB / 480.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1458, allocations: 4 kB / 480.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.1463, allocations: 394.8 kB / 481 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.1464, allocations: 112.7 kB / 481.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.1464, allocations: 7.938 kB / 481.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.1467, allocations: 15.98 kB / 481.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.1467, allocations: 15.98 kB / 481.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.1467, allocations: 4 kB / 481.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002123/0.147, allocations: 231.1 kB / 481.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.416e-06/0.147, allocations: 0 / 481.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003969/0.1474, allocations: 79.67 kB / 481.4 MB, free: 1.422 MB / 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.0001078/0.1475, allocations: 95.78 kB / 481.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005749/0.1481, allocations: 196.1 kB / 481.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1481, allocations: 0 / 481.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.1483, allocations: 87.81 kB / 481.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004966/0.1488, allocations: 28.34 kB / 481.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009805/0.1498, allocations: 0.6788 MB / 482.5 MB, free: 296 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.1501, allocations: 0.7714 MB / 483.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.1503, allocations: 30.11 kB / 483.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.1503, allocations: 19.44 kB / 483.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1504, allocations: 3.938 kB / 483.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of Templates: time 0.004648/0.155, allocations: 1.701 MB / 485 MB, free: 13.75 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 -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/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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches