Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.002283/0.002283, allocations: 91.92 kB / 20.96 MB, free: 3.441 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.002565/0.002565, allocations: 145.1 kB / 24.26 MB, free: 152 kB / 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 1.57/1.57, allocations: 173.3 MB / 200.8 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 178] 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.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.0.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.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.628e-05, allocations: 2.312 kB / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009906/0.009933, allocations: 6.75 MB / 274.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004702/0.01463, allocations: 2.243 MB / 276.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005283/0.01516, allocations: 63.56 kB / 276.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.01629, allocations: 460.9 kB / 276.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.01801, allocations: 0.7219 MB / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005457/0.01856, allocations: 267.7 kB / 277.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003627/0.02218, allocations: 2.936 MB / 280.8 MB, free: 9.219 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002025/0.02421, allocations: 1.344 MB / 282.1 MB, free: 7.809 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003807/0.02801, allocations: 2.003 MB / 284.1 MB, free: 5.832 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002427/0.03044, allocations: 1.508 MB / 285.6 MB, free: 4.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005347/0.03098, allocations: 348 kB / 286 MB, free: 3.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008669/0.03184, allocations: 427.9 kB / 286.4 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.03287, allocations: 0.9427 MB / 287.3 MB, free: 2.617 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00158/0.03445, allocations: 1.088 MB / 288.4 MB, free: 1.527 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1121/0.1466, allocations: 4.723 MB / 293.1 MB, free: 20.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1466, allocations: 1.062 kB / 293.1 MB, free: 20.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1466, allocations: 3.609 kB / 293.1 MB, free: 20.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.246e-05/0.1467, allocations: 0 / 293.1 MB, free: 20.62 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.006009/0.1527, allocations: 3.367 MB / 296.5 MB, free: 19.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1527, allocations: 10.73 kB / 296.5 MB, free: 19.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.1538, allocations: 0.4972 MB / 297 MB, free: 19.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002861/0.1567, allocations: 1.495 MB / 298.5 MB, free: 18.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.1568, allocations: 166.1 kB / 298.7 MB, free: 18.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003479/0.1572, allocations: 223.1 kB / 298.9 MB, free: 18.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005077/0.1622, allocations: 3.324 MB / 302.2 MB, free: 17.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.407e-05/0.1623, allocations: 4.844 kB / 302.2 MB, free: 17.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002225/0.1625, allocations: 93.44 kB / 302.3 MB, free: 17.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/0.1626, allocations: 112.4 kB / 302.4 MB, free: 17.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003754/0.1664, allocations: 2.382 MB / 304.8 MB, free: 16.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01335/0.1797, allocations: 10.88 MB / 315.7 MB, free: 8.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/0.1818, allocations: 1.71 MB / 317.4 MB, free: 7.066 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.1831, allocations: 1.077 MB / 318.5 MB, free: 5.996 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/0.1834, allocations: 61.28 kB / 318.5 MB, free: 5.934 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.1834, allocations: 46.7 kB / 318.6 MB, free: 5.879 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.407e-06/0.1834, allocations: 0 / 318.6 MB, free: 5.879 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.00883/0.1922, allocations: 4.696 MB / 323.3 MB, free: 1.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.1923, allocations: 68.72 kB / 323.3 MB, free: 1.102 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/0.1941, allocations: 1.462 MB / 324.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.1942, allocations: 49.7 kB / 324.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.1953, allocations: 1.105 MB / 325.9 MB, free: 14.45 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005705/0.1959, allocations: 0.5 MB / 326.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005311/0.1964, allocations: 280.5 kB / 326.7 MB, free: 13.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004121/0.1968, allocations: 0.5824 MB / 327.3 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.1979, allocations: 0.5373 MB / 327.8 MB, free: 12.55 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.1992, allocations: 0.8208 MB / 328.7 MB, free: 11.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002459/0.2017, allocations: 1.458 MB / 330.1 MB, free: 10.16 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.2017, allocations: 4 kB / 330.1 MB, free: 10.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004393/0.2061, allocations: 2.039 MB / 332.2 MB, free: 8.125 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.2061, allocations: 8 kB / 332.2 MB, free: 8.117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.2062, allocations: 7.938 kB / 332.2 MB, free: 8.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003225/0.2094, allocations: 0.8174 MB / 333 MB, free: 7.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000945/0.2103, allocations: 197.7 kB / 333.2 MB, free: 7.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01585/0.2262, allocations: 12.73 MB / 345.9 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.2273, allocations: 59.89 kB / 346 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.2274, allocations: 43.98 kB / 346 MB, free: 9.867 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.001439/0.2289, allocations: 0.7327 MB / 346.7 MB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004265/0.2293, allocations: 191.1 kB / 346.9 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004195/0.2335, allocations: 1.952 MB / 348.9 MB, free: 6.992 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.2335, allocations: 12 kB / 348.9 MB, free: 6.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.2335, allocations: 4 kB / 348.9 MB, free: 6.977 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/0.2335, allocations: 7.969 kB / 348.9 MB, free: 6.969 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00921/0.2427, allocations: 4.469 MB / 353.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.2427, allocations: 3.656 kB / 353.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007292/0.2435, allocations: 157.9 kB / 353.5 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003068/0.2465, allocations: 0.7753 MB / 354.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.2466, allocations: 31.98 kB / 354.3 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01507/0.2617, allocations: 12.31 MB / 366.6 MB, free: 4.773 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2617, allocations: 0 / 366.6 MB, free: 4.773 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005278/0.267, allocations: 2.677 MB / 369.3 MB, free: 2.066 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.268, allocations: 295.2 kB / 369.6 MB, free: 1.777 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/0.2682, allocations: 28 kB / 369.6 MB, free: 1.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008007/0.269, allocations: 63.94 kB / 369.7 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003251/0.2694, allocations: 129.1 kB / 369.8 MB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-05/0.2695, allocations: 35.94 kB / 369.9 MB, free: 1.527 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001592/0.271, allocations: 0.9069 MB / 370.8 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.271, allocations: 4 kB / 370.8 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002075/0.2731, allocations: 0.5137 MB / 371.3 MB, free: 100 kB / 314.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.0006061/0.2737, allocations: 205.9 kB / 371.5 MB, free: 15.9 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004229/0.278, allocations: 2.383 MB / 373.9 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.278, allocations: 0 / 373.9 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002797/0.2808, allocations: 1.719 MB / 375.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/0.2828, allocations: 405.8 kB / 376 MB, free: 11.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00871/0.2915, allocations: 4.273 MB / 380.3 MB, free: 6.977 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001825/0.2933, allocations: 1.344 MB / 381.6 MB, free: 5.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008554/0.2942, allocations: 235.8 kB / 381.8 MB, free: 5.355 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/0.2944, allocations: 84.5 kB / 381.9 MB, free: 5.27 MB / 330.7 MB Notification: Performance of SimCode: time 1.192e-06/0.2945, allocations: 0 / 381.9 MB, free: 5.27 MB / 330.7 MB Notification: Performance of Templates: time 0.05282/0.3473, allocations: 29.19 MB / 411.1 MB, free: 8.527 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.672959384974092]