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.00158/0.00158, allocations: 114.8 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001345/0.001345, allocations: 208.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2038/0.2038, allocations: 46.09 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 75.12 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1273, allocations: 62.45 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005031/0.1324, allocations: 3.515 MB / 485 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.134, allocations: 0.8217 MB / 485.8 MB, free: 180 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.1341, allocations: 12 kB / 485.8 MB, free: 168 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.1344, allocations: 75.23 kB / 485.9 MB, free: 92 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.1347, allocations: 130.9 kB / 486 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.135, allocations: 131.6 kB / 486.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004695/0.1355, allocations: 0.5179 MB / 486.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003647/0.1359, allocations: 245.8 kB / 486.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.1361, allocations: 211.3 kB / 487.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.1364, allocations: 231 kB / 487.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.172e-05/0.1365, allocations: 52 kB / 487.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.945e-05/0.1366, allocations: 48 kB / 487.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.1367, allocations: 111.6 kB / 487.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.1369, allocations: 258.8 kB / 487.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005333/0.1374, allocations: 0.541 MB / 488.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1375, allocations: 0 / 488.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1375, allocations: 0 / 488.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.1375, allocations: 0 / 488.3 MB, free: 13.64 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.001322/0.1388, allocations: 0.7704 MB / 489.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1389, allocations: 15.97 kB / 489.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.333e-05/0.139, allocations: 52.28 kB / 489.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.1394, allocations: 309.5 kB / 489.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.637e-05/0.1395, allocations: 41.38 kB / 489.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.957e-05/0.1396, allocations: 40.38 kB / 489.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007784/0.1404, allocations: 471.2 kB / 490 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1404, allocations: 0 / 490 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.903e-05/0.1404, allocations: 20 kB / 490 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.1404, allocations: 12 kB / 490 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006568/0.1411, allocations: 323.8 kB / 490.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.1435, allocations: 1.678 MB / 492 MB, free: 9.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/0.1441, allocations: 233 kB / 492.3 MB, free: 9.461 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.1444, allocations: 141.9 kB / 492.4 MB, free: 9.316 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.1444, allocations: 12 kB / 492.4 MB, free: 9.305 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.1445, allocations: 30.56 kB / 492.4 MB, free: 9.266 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.753e-06/0.1445, allocations: 4 kB / 492.5 MB, free: 9.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.00274/0.1472, allocations: 1.336 MB / 493.8 MB, free: 7.809 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.1473, allocations: 85.11 kB / 493.9 MB, free: 7.707 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.1475, allocations: 258.6 kB / 494.1 MB, free: 7.449 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.1476, allocations: 29.7 kB / 494.2 MB, free: 7.414 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.1477, allocations: 267.4 kB / 494.4 MB, free: 7.145 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.249e-05/0.1478, allocations: 118.2 kB / 494.5 MB, free: 7.027 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.1479, allocations: 74.12 kB / 494.6 MB, free: 6.949 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.1481, allocations: 342.8 kB / 494.9 MB, free: 6.605 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.1484, allocations: 112.8 kB / 495 MB, free: 6.496 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.1487, allocations: 212.3 kB / 495.3 MB, free: 6.242 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005392/0.1492, allocations: 335.7 kB / 495.6 MB, free: 5.871 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.1492, allocations: 8 kB / 495.6 MB, free: 5.863 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007412/0.15, allocations: 424.2 kB / 496 MB, free: 5.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.15, allocations: 8.062 kB / 496 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.15, allocations: 4 kB / 496 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001304/0.1502, allocations: 28.84 kB / 496 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004596/0.1506, allocations: 123.8 kB / 496.2 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.1517, allocations: 1.439 MB / 497.6 MB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.152, allocations: 15.98 kB / 497.6 MB, free: 3.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.152, allocations: 28 kB / 497.6 MB, free: 3.656 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.0001982/0.1522, allocations: 165.7 kB / 497.8 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/0.1523, allocations: 27.62 kB / 497.8 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.32e-05/0.1524, allocations: 42.17 kB / 497.9 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1524, allocations: 4 kB / 497.9 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1524, allocations: 0 / 497.9 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1524, allocations: 3.984 kB / 497.9 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.1535, allocations: 0.7139 MB / 498.6 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1535, allocations: 0 / 498.6 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/0.1539, allocations: 95.88 kB / 498.7 MB, free: 2.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.746e-05/0.154, allocations: 28.91 kB / 498.7 MB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.154, allocations: 15.92 kB / 498.7 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009335/0.155, allocations: 1.427 MB / 0.4884 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.155, allocations: 0 / 0.4884 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008896/0.1559, allocations: 0.6019 MB / 0.489 GB, free: 304 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.156, allocations: 128.7 kB / 0.4892 GB, free: 156 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.1561, allocations: 8 kB / 0.4892 GB, free: 148 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.1563, allocations: 15.98 kB / 0.4892 GB, free: 132 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.1564, allocations: 31.91 kB / 0.4892 GB, free: 100 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.855e-05/0.1564, allocations: 11.94 kB / 0.4892 GB, free: 88 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001757/0.1566, allocations: 186 kB / 0.4894 GB, free: 15.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1566, allocations: 0 / 0.4894 GB, free: 15.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004487/0.1571, 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.000121/0.1572, allocations: 102.2 kB / 0.4896 GB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008438/0.158, allocations: 418.2 kB / 0.49 GB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.158, allocations: 0 / 0.49 GB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003871/0.1584, allocations: 247.4 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.0004778/0.1589, allocations: 49.25 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.001476/0.1604, allocations: 0.8928 MB / 0.4911 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.1608, allocations: 0.8113 MB / 0.4919 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001394/0.161, allocations: 38.89 kB / 0.492 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/0.161, allocations: 31.42 kB / 0.492 GB, free: 13.15 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.161, allocations: 3.938 kB / 0.492 GB, free: 13.14 MB / 382.1 MB Notification: Performance of Templates: time 0.0066/0.1677, allocations: 3.097 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 cvode -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