Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008395/0.0008395, allocations: 91.61 kB / 22.19 MB, free: 2.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008826/0.0008826, allocations: 160.9 kB / 25.45 MB, free: 8.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8185/0.8185, allocations: 158.6 MB / 187.2 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 299.7 MB, free: 3.023 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.263e-05/1.411e-05, allocations: 2.281 kB / 299.7 MB, free: 3.02 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.1127/0.1127, allocations: 5.491 MB / 305.2 MB, free: 13.03 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002372/0.1151, allocations: 1.66 MB / 306.8 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004012/0.1155, allocations: 47 kB / 306.9 MB, free: 12.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004178/0.1159, allocations: 306.3 kB / 307.2 MB, free: 12.01 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000905/0.1168, allocations: 447.7 kB / 307.6 MB, free: 11.73 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.1173, allocations: 360.5 kB / 308 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001335/0.1186, allocations: 2.215 MB / 310.2 MB, free: 10.37 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.1198, allocations: 1.312 MB / 311.5 MB, free: 9.672 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.121, allocations: 1.561 MB / 313.1 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.122, allocations: 1.043 MB / 314.1 MB, free: 8.527 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002875/0.1223, allocations: 289.7 kB / 314.4 MB, free: 8.527 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004661/0.1228, allocations: 406.1 kB / 314.8 MB, free: 8.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004019/0.1232, allocations: 0.7316 MB / 315.5 MB, free: 8.039 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007322/0.1239, allocations: 0.8502 MB / 316.4 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002179/0.1261, allocations: 3.662 MB / 320 MB, free: 5.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1261, allocations: 4 kB / 320 MB, free: 5.727 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1261, allocations: 3.938 kB / 320 MB, free: 5.723 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.299e-05/0.1261, allocations: 1.062 kB / 320 MB, free: 5.723 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.002502/0.1286, allocations: 2.422 MB / 322.5 MB, free: 4.039 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1287, allocations: 15.39 kB / 322.5 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002893/0.129, allocations: 245.3 kB / 322.7 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.1301, allocations: 1.12 MB / 323.8 MB, free: 3.145 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.561e-05/0.1302, allocations: 159.3 kB / 324 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/0.1304, allocations: 211.5 kB / 324.2 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002625/0.133, allocations: 2.63 MB / 326.8 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.133, allocations: 3.938 kB / 326.8 MB, free: 1.375 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.1331, allocations: 90.69 kB / 326.9 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.783e-05/0.1332, allocations: 52.03 kB / 327 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.1351, allocations: 2.076 MB / 329 MB, free: 216 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00605/0.1412, allocations: 6.349 MB / 335.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.1423, allocations: 1.309 MB / 336.7 MB, free: 9.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008519/0.1432, allocations: 0.8755 MB / 337.6 MB, free: 8.215 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.1432, allocations: 13 kB / 337.6 MB, free: 8.203 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1432, allocations: 43.56 kB / 337.6 MB, free: 8.152 MB / 298.7 MB Notification: Performance of pre-optimization done (n=96): time 2.885e-06/0.1432, allocations: 0 / 337.6 MB, free: 8.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=97): time 0.004627/0.1479, allocations: 3.893 MB / 341.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.1479, allocations: 64.41 kB / 341.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006638/0.1485, allocations: 0.8365 MB / 342.4 MB, free: 3.289 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/0.1486, allocations: 41.7 kB / 342.5 MB, free: 3.242 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000333/0.1489, allocations: 0.8514 MB / 343.3 MB, free: 2.375 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.1491, allocations: 337.1 kB / 343.7 MB, free: 2.043 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.1492, allocations: 174.6 kB / 343.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.724e-05/0.1493, allocations: 349.9 kB / 344.2 MB, free: 1.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004589/0.1498, allocations: 497.7 kB / 344.6 MB, free: 1.031 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005259/0.1503, allocations: 0.6733 MB / 345.3 MB, free: 300 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.1513, allocations: 1.208 MB / 346.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1513, allocations: 0 / 346.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00172/0.153, allocations: 1.617 MB / 348.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1531, allocations: 8 kB / 348.2 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.1531, allocations: 4 kB / 348.2 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008306/0.1539, allocations: 470.9 kB / 348.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005411/0.1544, allocations: 175.7 kB / 348.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005957/0.1604, allocations: 8.71 MB / 357.5 MB, free: 3.609 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.1607, allocations: 56.52 kB / 357.6 MB, free: 3.555 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/0.1608, allocations: 32 kB / 357.6 MB, free: 3.523 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0007795/0.1615, allocations: 0.642 MB / 358.2 MB, free: 2.871 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.1616, allocations: 103.4 kB / 358.3 MB, free: 2.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.1618, allocations: 129.9 kB / 358.5 MB, free: 2.641 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.1618, allocations: 12 kB / 358.5 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.1618, allocations: 7.938 kB / 358.5 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1618, allocations: 11.91 kB / 358.5 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003248/0.165, allocations: 3.054 MB / 361.5 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.165, allocations: 3.984 kB / 361.5 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.1653, allocations: 131.8 kB / 361.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005026/0.1658, allocations: 451 kB / 362.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/0.1659, allocations: 20 kB / 362.1 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004986/0.1708, allocations: 8.624 MB / 370.8 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1708, allocations: 4.031 kB / 370.8 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.1729, allocations: 2.301 MB / 373.1 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002606/0.1731, allocations: 211.2 kB / 373.3 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.316e-05/0.1732, allocations: 20.09 kB / 373.3 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.1734, allocations: 47.89 kB / 373.3 MB, free: 3.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.1735, allocations: 92.77 kB / 373.4 MB, free: 3.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.1736, allocations: 31.98 kB / 373.5 MB, free: 3.129 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004703/0.174, allocations: 0.581 MB / 374 MB, free: 2.551 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.174, allocations: 0 / 374 MB, free: 2.551 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009808/0.175, allocations: 376 kB / 374.4 MB, free: 2.184 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00022/0.1752, allocations: 151.2 kB / 374.6 MB, free: 2.023 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001805/0.177, allocations: 1.78 MB / 376.3 MB, free: 196 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.177, allocations: 0 / 376.3 MB, free: 196 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008949/0.1779, allocations: 1.215 MB / 377.5 MB, free: 14.92 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006721/0.1786, allocations: 271.6 kB / 377.8 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/0.1824, allocations: 3.535 MB / 381.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007201/0.1831, allocations: 1.114 MB / 382.5 MB, free: 9.914 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/0.1835, allocations: 68.5 kB / 382.5 MB, free: 9.848 MB / 346.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1835, allocations: 0 / 382.5 MB, free: 9.848 MB / 346.7 MB Notification: Performance of Templates: time 0.03489/0.2184, allocations: 59.14 MB / 441.7 MB, free: 14.61 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.092976620420814]