Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007598/0.0007598, allocations: 94.53 kB / 17.35 MB, free: 6.371 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.0008703/0.0008704, allocations: 176.7 kB / 18.25 MB, free: 5.527 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.385/1.385, allocations: 223.3 MB / 242.3 MB, free: 14.47 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.2245/0.2245, allocations: 44.24 MB / 337.7 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003649, allocations: 9.375 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1239, allocations: 61.93 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004041/0.128, allocations: 3.131 MB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.1296, allocations: 0.779 MB / 476.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003671/0.13, allocations: 12 kB / 476.2 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.1303, allocations: 59.53 kB / 476.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000427/0.1307, allocations: 103.1 kB / 476.3 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.1312, allocations: 107.9 kB / 476.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006785/0.1319, allocations: 0.4944 MB / 476.9 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003923/0.1323, allocations: 202.7 kB / 477.1 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003447/0.1327, allocations: 183.2 kB / 477.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003254/0.133, allocations: 199 kB / 477.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.95e-05/0.1331, allocations: 32 kB / 477.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.463e-05/0.1332, allocations: 24 kB / 477.6 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.881e-05/0.1333, allocations: 83.66 kB / 477.7 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002709/0.1335, allocations: 248.5 kB / 477.9 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005484/0.1341, allocations: 0.5216 MB / 478.4 MB, free: 7.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1341, allocations: 0 / 478.4 MB, free: 7.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1341, allocations: 0 / 478.4 MB, free: 7.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.1341, allocations: 0 / 478.4 MB, free: 7.117 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001484/0.1356, allocations: 0.694 MB / 479.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.1357, allocations: 8.031 kB / 479.1 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.1359, allocations: 48.38 kB / 479.2 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/0.1364, allocations: 313.5 kB / 479.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.261e-05/0.1364, allocations: 37.38 kB / 479.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.151e-05/0.1365, allocations: 48.28 kB / 479.6 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009761/0.1375, allocations: 471.3 kB / 480 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.1375, allocations: 0 / 480 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-05/0.1376, allocations: 20 kB / 480 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.1376, allocations: 12 kB / 480 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007732/0.1384, allocations: 343.7 kB / 480.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0027/0.1411, allocations: 1.701 MB / 482.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005867/0.1417, allocations: 249 kB / 482.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/0.142, allocations: 149.6 kB / 482.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.1421, allocations: 0 / 482.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.1421, allocations: 46.53 kB / 482.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.543e-06/0.1421, allocations: 0 / 482.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.00306/0.1452, allocations: 1.354 MB / 483.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.1452, allocations: 85.05 kB / 484 MB, free: 1.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.1455, allocations: 270.5 kB / 484.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.1456, allocations: 29.7 kB / 484.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.1458, allocations: 259.4 kB / 484.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.391e-05/0.1459, allocations: 114.3 kB / 484.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.506e-05/0.1459, allocations: 45.69 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1461, allocations: 338.8 kB / 485 MB, free: 112 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004549/0.1466, allocations: 112.8 kB / 485.1 MB, free: 0 / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004047/0.147, allocations: 228.5 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000629/0.1476, allocations: 345 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1477, allocations: 0 / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001172/0.1488, allocations: 426 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.1489, allocations: 10.34 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.1489, allocations: 4 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/0.1491, allocations: 28.84 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.1496, allocations: 128 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.151, allocations: 1.343 MB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.1513, allocations: 19.98 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.1514, allocations: 16 kB / 487.6 MB, free: 13.25 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002869/0.1517, allocations: 161.8 kB / 487.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.885e-05/0.1518, allocations: 31.56 kB / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.894e-05/0.1519, allocations: 42.23 kB / 487.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.1519, allocations: 4 kB / 487.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.1519, allocations: 0 / 487.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.1519, allocations: 3.984 kB / 487.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.1533, allocations: 0.7298 MB / 488.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.1533, allocations: 0 / 488.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/0.1538, allocations: 99.95 kB / 488.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/0.1539, allocations: 32.83 kB / 488.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.154, allocations: 8 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.1551, allocations: 1.327 MB / 490.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1551, allocations: 0 / 490.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.1563, allocations: 0.6137 MB / 490.7 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.1565, allocations: 128.7 kB / 490.8 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.1565, allocations: 7.938 kB / 490.8 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/0.1568, allocations: 23.98 kB / 490.8 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.1569, allocations: 27.97 kB / 490.8 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.1569, allocations: 8 kB / 490.9 MB, free: 9.762 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001875/0.1571, allocations: 186 kB / 491 MB, free: 9.582 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1571, allocations: 0 / 491 MB, free: 9.582 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005162/0.1577, allocations: 92 kB / 491.1 MB, free: 9.492 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001689/0.1578, allocations: 107.7 kB / 491.2 MB, free: 9.379 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008859/0.1587, allocations: 408.4 kB / 491.6 MB, free: 8.969 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1588, allocations: 0.75 kB / 491.6 MB, free: 8.969 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004198/0.1592, allocations: 262.4 kB / 491.9 MB, free: 8.699 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007984/0.16, allocations: 40.55 kB / 491.9 MB, free: 8.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.162, allocations: 1.183 MB / 493.1 MB, free: 7.434 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.1624, allocations: 0.8113 MB / 493.9 MB, free: 6.594 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000179/0.1626, allocations: 34.95 kB / 494 MB, free: 6.562 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.071e-05/0.1627, allocations: 23.44 kB / 494 MB, free: 6.539 MB / 366.1 MB Notification: Performance of SimCode: time 1.774e-06/0.1627, allocations: 0 / 494 MB, free: 6.539 MB / 366.1 MB Notification: Performance of Templates: time 0.007313/0.17, allocations: 2.909 MB / 496.9 MB, free: 3.656 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches