Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009778/0.0009778, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001094/0.001094, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.208/0.208, allocations: 46.12 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 77.03 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1255, allocations: 62.44 MB / 481.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004708/0.1303, allocations: 3.522 MB / 485 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1317, allocations: 0.8257 MB / 485.8 MB, free: 180 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.1319, allocations: 11.94 kB / 485.8 MB, free: 168 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.1321, allocations: 79.28 kB / 485.9 MB, free: 88 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.1323, allocations: 130.7 kB / 486 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.1327, allocations: 123.8 kB / 486.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004515/0.1331, allocations: 0.5257 MB / 486.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003168/0.1334, allocations: 245.8 kB / 486.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.1336, allocations: 203.3 kB / 487.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.1339, allocations: 231 kB / 487.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.28e-05/0.134, allocations: 51.94 kB / 487.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.282e-05/0.134, allocations: 56 kB / 487.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.932e-05/0.1341, allocations: 107.7 kB / 487.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.1343, allocations: 246.8 kB / 487.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000573/0.1349, allocations: 0.5566 MB / 488.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1349, allocations: 0 / 488.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1349, allocations: 0 / 488.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.1349, allocations: 0 / 488.3 MB, free: 13.63 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001429/0.1364, allocations: 0.7642 MB / 489.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.1364, allocations: 8.031 kB / 489.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.1366, allocations: 56.28 kB / 489.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005088/0.1371, allocations: 313.5 kB / 489.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/0.1372, allocations: 37.36 kB / 489.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.471e-05/0.1372, allocations: 48.38 kB / 489.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007945/0.138, allocations: 463.2 kB / 490 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1381, allocations: 0 / 490 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.196e-05/0.1381, allocations: 20 kB / 490 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.1381, allocations: 16 kB / 490 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007285/0.1389, allocations: 323.8 kB / 490.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.1413, allocations: 1.674 MB / 492 MB, free: 9.711 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005264/0.1418, allocations: 237 kB / 492.3 MB, free: 9.461 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003512/0.1422, allocations: 137.9 kB / 492.4 MB, free: 9.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.1422, allocations: 8 kB / 492.4 MB, free: 9.312 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1423, allocations: 38.5 kB / 492.4 MB, free: 9.266 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.513e-06/0.1423, allocations: 0 / 492.4 MB, free: 9.266 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.003182/0.1454, allocations: 1.339 MB / 493.8 MB, free: 7.809 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.1455, allocations: 85.05 kB / 493.9 MB, free: 7.707 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.1458, allocations: 262.6 kB / 494.1 MB, free: 7.445 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.1458, allocations: 29.7 kB / 494.1 MB, free: 7.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.146, allocations: 255.4 kB / 494.4 MB, free: 7.152 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.98e-05/0.146, allocations: 130.2 kB / 494.5 MB, free: 7.023 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.1462, allocations: 74.12 kB / 494.6 MB, free: 6.945 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1463, allocations: 342.8 kB / 494.9 MB, free: 6.602 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.1465, allocations: 104.8 kB / 495 MB, free: 6.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/0.1469, allocations: 216.3 kB / 495.2 MB, free: 6.242 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007711/0.1477, allocations: 342.3 kB / 495.6 MB, free: 5.871 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1477, allocations: 0 / 495.6 MB, free: 5.871 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008093/0.1485, allocations: 417.9 kB / 496 MB, free: 5.453 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1485, allocations: 8 kB / 496 MB, free: 5.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1485, allocations: 4 kB / 496 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001507/0.1487, allocations: 28.84 kB / 496 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/0.1491, allocations: 127.7 kB / 496.2 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.1502, allocations: 1.443 MB / 497.6 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.1505, allocations: 24 kB / 497.6 MB, free: 3.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.1505, allocations: 15.98 kB / 497.6 MB, free: 3.664 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.0001635/0.1507, allocations: 169.7 kB / 497.8 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.128e-05/0.1508, allocations: 31.62 kB / 497.8 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.59e-05/0.1508, allocations: 38.17 kB / 497.9 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1508, allocations: 4 kB / 497.9 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1509, allocations: 0 / 497.9 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1509, allocations: 0 / 497.9 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.152, allocations: 0.7154 MB / 498.6 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.152, allocations: 0 / 498.6 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000398/0.1524, allocations: 87.88 kB / 498.7 MB, free: 2.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.297e-05/0.1525, allocations: 36.91 kB / 498.7 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.1525, allocations: 7.938 kB / 498.7 MB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008444/0.1533, allocations: 1.427 MB / 0.4884 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1534, allocations: 3.938 kB / 0.4884 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008816/0.1543, allocations: 0.602 MB / 0.489 GB, free: 312 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.1544, allocations: 120.8 kB / 0.4891 GB, free: 172 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.1544, allocations: 8 kB / 0.4891 GB, free: 164 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.1547, allocations: 19.98 kB / 0.4892 GB, free: 144 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/0.1548, allocations: 39.83 kB / 0.4892 GB, free: 104 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.1548, allocations: 12 kB / 0.4892 GB, free: 92 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001787/0.155, allocations: 182 kB / 0.4894 GB, free: 15.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.155, allocations: 0 / 0.4894 GB, free: 15.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004505/0.1554, allocations: 92 kB / 0.4895 GB, free: 15.82 MB / 382.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.000137/0.1556, allocations: 107.2 kB / 0.4896 GB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008231/0.1564, allocations: 413.8 kB / 0.49 GB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.1564, allocations: 4 kB / 0.49 GB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003751/0.1568, allocations: 256.3 kB / 0.4902 GB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.1573, allocations: 46.7 kB / 0.4903 GB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.1587, allocations: 0.8927 MB / 0.4911 GB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.1591, allocations: 0.8152 MB / 0.4919 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.1592, allocations: 34.95 kB / 0.492 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.1593, allocations: 31.38 kB / 0.492 GB, free: 13.15 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1593, allocations: 4 kB / 0.492 GB, free: 13.15 MB / 382.1 MB Notification: Performance of Templates: time 0.006445/0.1657, allocations: 3.094 MB / 0.495 GB, free: 10.07 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches