Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.001886/0.001886, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002073/0.002073, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.593/1.593, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.672e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.00998/0.01001, allocations: 6.788 MB / 279.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004926/0.01493, allocations: 2.29 MB / 281.4 MB, free: 8.711 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008014/0.01573, allocations: 63.56 kB / 281.5 MB, free: 8.648 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.01696, allocations: 456.9 kB / 281.9 MB, free: 8.199 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001906/0.01887, allocations: 0.7258 MB / 282.6 MB, free: 7.469 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006076/0.01948, allocations: 287.5 kB / 282.9 MB, free: 7.188 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003651/0.02313, allocations: 2.944 MB / 285.9 MB, free: 4.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002015/0.02514, allocations: 1.328 MB / 287.2 MB, free: 2.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00403/0.02917, allocations: 2.019 MB / 289.2 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1306/0.1598, allocations: 1.506 MB / 290.7 MB, free: 16.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001846/0.1616, allocations: 349.4 kB / 291 MB, free: 16.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002119/0.1638, allocations: 435.8 kB / 291.5 MB, free: 16.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001284/0.165, allocations: 0.9418 MB / 292.4 MB, free: 16.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003985/0.169, allocations: 1.076 MB / 293.5 MB, free: 16.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009298/0.1783, allocations: 4.743 MB / 298.2 MB, free: 16.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.1783, allocations: 0.5 kB / 298.2 MB, free: 16.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1783, allocations: 1.688 kB / 298.2 MB, free: 16.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001486/0.1785, allocations: 0 / 298.2 MB, free: 16.35 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.01386/0.1923, allocations: 3.382 MB / 301.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.1924, allocations: 8.812 kB / 301.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002373/0.1948, allocations: 0.5176 MB / 302.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003304/0.1981, allocations: 1.52 MB / 303.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.1982, allocations: 165.5 kB / 303.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003517/0.1986, allocations: 218.9 kB / 304 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004853/0.2034, allocations: 3.328 MB / 307.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.551e-05/0.2035, allocations: 0 / 307.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001997/0.2037, allocations: 90.06 kB / 307.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.811e-05/0.2038, allocations: 113.1 kB / 307.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003376/0.2071, allocations: 2.374 MB / 309.9 MB, free: 9.504 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01349/0.2206, allocations: 10.89 MB / 320.8 MB, free: 15.94 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002985/0.2236, allocations: 1.72 MB / 322.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001974/0.2256, allocations: 1.07 MB / 323.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/0.2258, allocations: 53.28 kB / 323.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.142e-05/0.2258, allocations: 50.7 kB / 323.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 3.126e-06/0.2259, allocations: 0 / 323.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.01131/0.2372, allocations: 4.696 MB / 328.4 MB, free: 8.383 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.2372, allocations: 64.72 kB / 328.5 MB, free: 8.309 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/0.2397, allocations: 1.513 MB / 330 MB, free: 6.781 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000135/0.2399, allocations: 57.45 kB / 330.1 MB, free: 6.723 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00108/0.2409, allocations: 1.111 MB / 331.2 MB, free: 5.602 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005969/0.2415, allocations: 0.502 MB / 331.7 MB, free: 5.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005203/0.2421, allocations: 272.5 kB / 331.9 MB, free: 4.836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004147/0.2425, allocations: 0.5824 MB / 332.5 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.2436, allocations: 0.5475 MB / 333.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.2449, allocations: 0.8135 MB / 333.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002426/0.2473, allocations: 1.462 MB / 335.3 MB, free: 1.305 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.2473, allocations: 0 / 335.3 MB, free: 1.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004339/0.2517, allocations: 2.042 MB / 337.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2517, allocations: 4 kB / 337.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.2517, allocations: 11.92 kB / 337.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003222/0.2549, allocations: 0.8061 MB / 338.2 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008646/0.2558, allocations: 209.4 kB / 338.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01589/0.2717, allocations: 12.72 MB / 351.1 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.273, allocations: 55.89 kB / 351.2 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.2731, allocations: 44 kB / 351.2 MB, free: 1.016 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * Array equations: 0 * 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 {(2,29,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.001571/0.2747, allocations: 0.7328 MB / 352 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004745/0.2751, allocations: 203 kB / 352.2 MB, free: 88 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004402/0.2795, allocations: 1.972 MB / 354.1 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.2795, allocations: 12 kB / 354.1 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.2796, allocations: 11.98 kB / 354.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.44e-05/0.2796, allocations: 3.984 kB / 354.2 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009871/0.2895, allocations: 4.475 MB / 358.6 MB, free: 9.691 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.2895, allocations: 3.562 kB / 358.6 MB, free: 9.691 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007159/0.2902, allocations: 159.1 kB / 358.8 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003086/0.2933, allocations: 0.7803 MB / 359.6 MB, free: 8.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.2934, allocations: 31.98 kB / 359.6 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01496/0.3083, allocations: 12.31 MB / 371.9 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.3083, allocations: 3.984 kB / 371.9 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005306/0.3137, allocations: 2.677 MB / 374.6 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/0.3148, allocations: 295.2 kB / 374.9 MB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/0.315, allocations: 28 kB / 374.9 MB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007744/0.3158, allocations: 63.94 kB / 375 MB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003458/0.3161, allocations: 132.6 kB / 375.1 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.486e-05/0.3162, allocations: 35.94 kB / 375.1 MB, free: 8.742 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001593/0.3178, allocations: 0.9188 MB / 376.1 MB, free: 7.816 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3178, allocations: 4 kB / 376.1 MB, free: 7.812 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002099/0.3199, allocations: 0.5078 MB / 376.6 MB, free: 7.305 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * 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 {(2,29,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.0006108/0.3205, allocations: 213.6 kB / 376.8 MB, free: 7.109 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004178/0.3247, allocations: 2.372 MB / 379.1 MB, free: 4.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.3247, allocations: 4.875 kB / 379.2 MB, free: 4.676 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002845/0.3275, allocations: 1.722 MB / 380.9 MB, free: 2.898 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/0.3298, allocations: 411 kB / 381.3 MB, free: 2.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0093/0.3391, allocations: 4.254 MB / 385.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001831/0.3409, allocations: 1.357 MB / 386.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001048/0.342, allocations: 235.8 kB / 387.1 MB, free: 12.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/0.3423, allocations: 88.5 kB / 387.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of SimCode: time 1.663e-06/0.3423, allocations: 0 / 387.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of Templates: time 0.05523/0.3975, allocations: 29.2 MB / 416.4 MB, free: 15.73 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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: 5.7224766669096425]