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.001145/0.001146, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001113/0.001113, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.443/1.443, allocations: 222.9 MB / 243 MB, free: 15.09 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.2241/0.2241, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 60.28 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1168, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004917/0.1218, allocations: 3.498 MB / 474.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.1233, allocations: 0.7983 MB / 475 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.1235, allocations: 12 kB / 475 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.1237, allocations: 79.23 kB / 475.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.1239, allocations: 122.8 kB / 475.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.1243, allocations: 127.8 kB / 475.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004914/0.1248, allocations: 0.5217 MB / 475.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003476/0.1252, allocations: 237.8 kB / 476.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.1254, allocations: 215.3 kB / 476.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.1257, allocations: 234.9 kB / 476.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.1e-05/0.1258, allocations: 52 kB / 476.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.45e-05/0.1258, allocations: 48 kB / 476.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.126, allocations: 119.6 kB / 476.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.1262, allocations: 246.8 kB / 477 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005279/0.1267, allocations: 0.5566 MB / 477.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.1267, allocations: 4 kB / 477.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1267, allocations: 0 / 477.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.1268, allocations: 0 / 477.5 MB, free: 6.789 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.001358/0.1281, allocations: 0.7564 MB / 478.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.1282, allocations: 8.031 kB / 478.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.948e-05/0.1283, allocations: 52.28 kB / 478.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004256/0.1287, allocations: 317.5 kB / 478.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.1288, allocations: 37.38 kB / 478.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.3e-05/0.1288, allocations: 44.38 kB / 478.7 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007664/0.1296, allocations: 467.2 kB / 479.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1296, allocations: 0 / 479.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.578e-05/0.1297, allocations: 27.98 kB / 479.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.1297, allocations: 12 kB / 479.2 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006776/0.1304, allocations: 315.8 kB / 479.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.1327, allocations: 1.685 MB / 481.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005325/0.1333, allocations: 237 kB / 481.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.1336, allocations: 145.6 kB / 481.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.1336, allocations: 0 / 481.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.1337, allocations: 34.56 kB / 481.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.242e-06/0.1337, allocations: 0 / 481.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.00285/0.1365, allocations: 1.338 MB / 483 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.1366, allocations: 81.11 kB / 483.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.1368, allocations: 258.6 kB / 483.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.1369, allocations: 37.7 kB / 483.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.137, allocations: 259.4 kB / 483.6 MB, free: 312 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.571e-05/0.1371, allocations: 126.2 kB / 483.7 MB, free: 184 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.1372, allocations: 78.05 kB / 483.8 MB, free: 100 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1374, allocations: 342.8 kB / 484.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.1377, allocations: 108.8 kB / 484.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.138, allocations: 216.2 kB / 484.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005932/0.1386, allocations: 331.8 kB / 484.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1386, allocations: 4 kB / 484.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008074/0.1394, allocations: 422.1 kB / 485.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1394, allocations: 8 kB / 485.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1395, allocations: 4 kB / 485.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001281/0.1396, allocations: 28.84 kB / 485.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004532/0.1401, allocations: 127.7 kB / 485.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.1411, allocations: 1.43 MB / 486.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.1414, allocations: 23.95 kB / 486.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.1414, allocations: 16 kB / 486.8 MB, free: 12.82 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.0001802/0.1416, allocations: 165.7 kB / 487 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.161e-05/0.1417, allocations: 31.7 kB / 487 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.803e-05/0.1417, allocations: 34.19 kB / 487.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.1418, allocations: 4 kB / 487.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1418, allocations: 3.984 kB / 487.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1418, allocations: 8 kB / 487.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.1428, allocations: 0.7094 MB / 487.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.1429, allocations: 7.938 kB / 487.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/0.1433, allocations: 95.94 kB / 487.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.602e-05/0.1434, allocations: 24.84 kB / 487.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.1434, allocations: 11.94 kB / 487.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009717/0.1444, allocations: 1.43 MB / 489.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.1444, allocations: 4.031 kB / 489.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009563/0.1453, allocations: 0.6009 MB / 490 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.1455, allocations: 124.8 kB / 490.1 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.1455, allocations: 8 kB / 490.1 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.1458, allocations: 23.98 kB / 490.1 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.1459, allocations: 31.78 kB / 490.1 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.1459, allocations: 15.98 kB / 490.2 MB, free: 9.242 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001725/0.1461, allocations: 182 kB / 490.3 MB, free: 9.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1461, allocations: 0 / 490.3 MB, free: 9.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004415/0.1465, allocations: 92 kB / 490.4 MB, free: 8.98 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.0001046/0.1467, allocations: 107.2 kB / 490.5 MB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008885/0.1476, allocations: 400.5 kB / 490.9 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1476, allocations: 0 / 490.9 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004883/0.1481, allocations: 263.4 kB / 491.2 MB, free: 8.195 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.1486, allocations: 41.3 kB / 491.2 MB, free: 8.156 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.1501, allocations: 0.8967 MB / 492.1 MB, free: 7.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.1505, allocations: 0.8112 MB / 492.9 MB, free: 6.375 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001343/0.1506, allocations: 38.94 kB / 493 MB, free: 6.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.77e-05/0.1507, allocations: 23.44 kB / 493 MB, free: 6.316 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1507, allocations: 4 kB / 493 MB, free: 6.312 MB / 366.1 MB Notification: Performance of Templates: time 0.006629/0.1573, allocations: 3.103 MB / 496.1 MB, free: 3.238 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 -s gbode -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/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_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches