Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009254/0.0009254, allocations: 147.1 kB / 24.89 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9644/0.9644, allocations: 173.4 MB / 201.5 MB, free: 8.742 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 268.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.921e-05, allocations: 2.312 kB / 268.5 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.006152/0.006171, allocations: 5.991 MB / 274.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002777/0.008948, allocations: 1.713 MB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004444/0.009393, allocations: 55.69 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004791/0.009872, allocations: 309.5 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000851/0.01072, allocations: 452.6 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.01117, allocations: 355.3 kB / 277.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001414/0.01258, allocations: 2.206 MB / 279.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.01371, allocations: 1.395 MB / 281 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.01484, allocations: 1.575 MB / 282.5 MB, free: 7.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.01587, allocations: 1.169 MB / 283.7 MB, free: 6.648 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000243/0.01611, allocations: 288 kB / 284 MB, free: 6.367 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004568/0.01657, allocations: 427.6 kB / 284.4 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004026/0.01697, allocations: 0.7323 MB / 285.1 MB, free: 5.215 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006009/0.01757, allocations: 0.8537 MB / 286 MB, free: 4.359 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.01895, allocations: 2.052 MB / 288 MB, free: 2.301 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.01895, allocations: 4 kB / 288 MB, free: 2.297 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.01896, allocations: 0 / 288 MB, free: 2.297 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.01897, allocations: 0 / 288 MB, free: 2.297 MB / 266.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.1197/0.1387, allocations: 2.306 MB / 290.3 MB, free: 28.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.1387, allocations: 11.77 kB / 290.4 MB, free: 28.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007085/0.1394, allocations: 321.1 kB / 290.7 MB, free: 28.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.1408, allocations: 0.7678 MB / 291.4 MB, free: 28.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.1409, allocations: 160.5 kB / 291.6 MB, free: 28.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002372/0.1412, allocations: 202.2 kB / 291.8 MB, free: 28.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002385/0.1435, allocations: 1.482 MB / 293.3 MB, free: 28.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.098e-05/0.1436, allocations: 4.75 kB / 293.3 MB, free: 28.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.1437, allocations: 87.56 kB / 293.4 MB, free: 28.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-05/0.1438, allocations: 55 kB / 293.4 MB, free: 28.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.1449, allocations: 0.5439 MB / 294 MB, free: 28.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005576/0.1505, allocations: 4.401 MB / 298.4 MB, free: 26.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008038/0.1513, allocations: 0.7354 MB / 299.1 MB, free: 26.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005829/0.1519, allocations: 417.3 kB / 299.5 MB, free: 26.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.346e-05/0.152, allocations: 15.03 kB / 299.5 MB, free: 26.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.152, allocations: 40.7 kB / 299.6 MB, free: 26.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.094e-06/0.152, allocations: 3.344 kB / 299.6 MB, free: 26.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.002794/0.1548, allocations: 1.605 MB / 301.2 MB, free: 25.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.1548, allocations: 62.03 kB / 301.2 MB, free: 25.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004619/0.1553, allocations: 0.5953 MB / 301.8 MB, free: 25.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.1553, allocations: 44.03 kB / 301.9 MB, free: 25.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.1555, allocations: 0.7556 MB / 302.6 MB, free: 24.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.1557, allocations: 332.8 kB / 303 MB, free: 24.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.1558, allocations: 173.9 kB / 303.1 MB, free: 24.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.568e-05/0.1559, allocations: 350.2 kB / 303.5 MB, free: 24.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.156, allocations: 114.3 kB / 303.6 MB, free: 24.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.1562, allocations: 289.7 kB / 303.9 MB, free: 24.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.1566, allocations: 0.4937 MB / 304.4 MB, free: 23.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1566, allocations: 4 kB / 304.4 MB, free: 23.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0007343/0.1574, allocations: 0.631 MB / 305 MB, free: 23.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1574, allocations: 9.344 kB / 305 MB, free: 23.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1574, allocations: 3.75 kB / 305 MB, free: 23.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004205/0.1578, allocations: 214.2 kB / 305.2 MB, free: 23.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/0.1582, allocations: 176 kB / 305.4 MB, free: 23.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002836/0.1611, allocations: 6.516 MB / 311.9 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.1613, allocations: 28 kB / 311.9 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/0.1614, allocations: 28 kB / 311.9 MB, free: 17 MB / 266.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.0002235/0.1616, allocations: 172.4 kB / 312.1 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.1617, allocations: 91.86 kB / 312.2 MB, free: 16.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.389e-05/0.1618, allocations: 121.8 kB / 312.3 MB, free: 16.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.1618, allocations: 12 kB / 312.3 MB, free: 16.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.1618, allocations: 4.031 kB / 312.3 MB, free: 16.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.1618, allocations: 7.969 kB / 312.4 MB, free: 16.58 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.1636, allocations: 1.566 MB / 313.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1636, allocations: 0 / 313.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/0.1639, allocations: 135.8 kB / 314 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003614/0.1643, allocations: 212.9 kB / 314.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.1643, allocations: 19.98 kB / 314.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002627/0.167, allocations: 6.484 MB / 320.8 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.167, allocations: 4.062 kB / 320.8 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008544/0.1678, allocations: 0.8831 MB / 321.6 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.168, allocations: 119.3 kB / 321.8 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.836e-05/0.1681, allocations: 27.98 kB / 321.8 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.1683, allocations: 16 kB / 321.8 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.1684, allocations: 84.84 kB / 321.9 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.1684, allocations: 16 kB / 321.9 MB, free: 6.691 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001927/0.1686, allocations: 299.3 kB / 322.2 MB, free: 6.402 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1686, allocations: 0 / 322.2 MB, free: 6.402 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008079/0.1694, allocations: 379.9 kB / 322.6 MB, free: 6.031 MB / 266.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.0001718/0.1696, allocations: 134.6 kB / 322.7 MB, free: 5.891 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008114/0.1704, allocations: 1.065 MB / 323.8 MB, free: 4.773 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/0.1704, allocations: 8 kB / 323.8 MB, free: 4.766 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005322/0.1709, allocations: 0.8653 MB / 324.6 MB, free: 3.852 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000642/0.1716, allocations: 284.1 kB / 324.9 MB, free: 3.582 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.1746, allocations: 3.034 MB / 328 MB, free: 500 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.1749, allocations: 458.5 kB / 328.4 MB, free: 8 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002704/0.1752, allocations: 108.1 kB / 328.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004757/0.1756, allocations: 289.1 kB / 328.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1756, allocations: 0 / 328.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of Templates: time 0.02437/0.2, allocations: 21.36 MB / 350.2 MB, free: 10.63 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1003687139600515]