Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.001101/0.001101, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00168/0.00278, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001065/0.001065, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001489/0.002554, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.8852/0.8852, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.139/1.024, allocations: 49.49 MB / 220.7 MB, free: 1.355 MB / 218.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.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 222 MB, free: 24 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.389e-05, allocations: 2.312 kB / 222 MB, free: 20 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.008879/0.008902, allocations: 10.31 MB / 232.3 MB, free: 5.648 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007658/0.01656, allocations: 3.4 MB / 235.7 MB, free: 2.238 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002091/0.01865, allocations: 95.25 kB / 235.8 MB, free: 2.145 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.02046, allocations: 0.7565 MB / 236.6 MB, free: 1.383 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003095/0.02356, allocations: 1.219 MB / 237.8 MB, free: 160 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.02469, allocations: 0.4915 MB / 238.3 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005771/0.03046, allocations: 5.527 MB / 243.8 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003135/0.0336, allocations: 2.312 MB / 246.1 MB, free: 7.695 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007277/0.04088, allocations: 3.922 MB / 250.1 MB, free: 3.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004429/0.0453, allocations: 2.736 MB / 252.8 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001586/0.04689, allocations: 0.6211 MB / 253.4 MB, free: 396 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002071/0.04896, allocations: 0.7107 MB / 254.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001677/0.05064, allocations: 1.399 MB / 255.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004013/0.05465, allocations: 1.615 MB / 257.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006532/0.06118, allocations: 4.304 MB / 261.4 MB, free: 8.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.831e-05/0.0612, allocations: 8 kB / 261.4 MB, free: 8.332 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.0612, allocations: 0 / 261.4 MB, free: 8.332 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001981/0.0614, allocations: 0 / 261.4 MB, free: 8.332 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.009196/0.0706, allocations: 5.762 MB / 267.2 MB, free: 2.516 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.07064, allocations: 8.031 kB / 267.2 MB, free: 2.508 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.07212, allocations: 0.806 MB / 268 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003245/0.07536, allocations: 1.503 MB / 269.5 MB, free: 108 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.07554, allocations: 300.2 kB / 269.8 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004744/0.07601, allocations: 399.8 kB / 270.2 MB, free: 15.42 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004215/0.08023, allocations: 3.225 MB / 273.4 MB, free: 12.03 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.233e-05/0.08028, allocations: 7.938 kB / 273.4 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002453/0.08053, allocations: 164 kB / 273.6 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001549/0.08068, allocations: 204 kB / 273.8 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.08284, allocations: 1.179 MB / 275 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01435/0.09719, allocations: 9.136 MB / 284.1 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.111/0.2082, allocations: 1.959 MB / 286.1 MB, free: 49.1 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/0.2098, allocations: 1.062 MB / 287.1 MB, free: 49.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002006/0.21, allocations: 70.98 kB / 287.2 MB, free: 49.04 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.2101, allocations: 62.2 kB / 287.3 MB, free: 49 MB / 282.7 MB Notification: Performance of pre-optimization done (n=249): time 5.17e-06/0.2101, allocations: 0 / 287.3 MB, free: 49 MB / 282.7 MB Notification: Performance of matching and sorting (n=256): time 0.008945/0.219, allocations: 4.173 MB / 291.4 MB, free: 48.49 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.2191, allocations: 80.16 kB / 291.5 MB, free: 48.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/0.2206, allocations: 1.434 MB / 292.9 MB, free: 48.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.323e-05/0.2207, allocations: 71.52 kB / 293 MB, free: 48.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004335/0.2212, allocations: 1.382 MB / 294.4 MB, free: 47.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002966/0.2215, allocations: 0.8691 MB / 295.3 MB, free: 46.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003647/0.2218, allocations: 384.8 kB / 295.6 MB, free: 46.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.418e-05/0.2218, allocations: 307.4 kB / 295.9 MB, free: 46.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/0.2222, allocations: 295 kB / 296.2 MB, free: 46.6 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003858/0.2226, allocations: 0.5511 MB / 296.8 MB, free: 46.35 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008516/0.2235, allocations: 1.094 MB / 297.9 MB, free: 46.03 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.2235, allocations: 0 / 297.9 MB, free: 46.03 MB / 282.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.001743/0.2252, allocations: 1.646 MB / 299.5 MB, free: 45.78 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.2252, allocations: 7.75 kB / 299.5 MB, free: 45.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2252, allocations: 6.781 kB / 299.5 MB, free: 45.78 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00202/0.2273, allocations: 1.042 MB / 300.6 MB, free: 45.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009633/0.2282, allocations: 496 kB / 301.1 MB, free: 45.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00702/0.2352, allocations: 17.39 MB / 318.5 MB, free: 30.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/0.2358, allocations: 59.94 kB / 318.5 MB, free: 30.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-05/0.2359, allocations: 63.98 kB / 318.6 MB, free: 29.97 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,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 (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0005561/0.2365, allocations: 248.2 kB / 318.8 MB, free: 29.72 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002681/0.2368, allocations: 271.7 kB / 319.1 MB, free: 29.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/0.2387, allocations: 1.731 MB / 320.8 MB, free: 27.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.2387, allocations: 24 kB / 320.8 MB, free: 27.63 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.2387, allocations: 11.94 kB / 320.9 MB, free: 27.62 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.2387, allocations: 11.95 kB / 320.9 MB, free: 27.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00428/0.243, allocations: 3.739 MB / 324.6 MB, free: 24.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.243, allocations: 0 / 324.6 MB, free: 24.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007037/0.2437, allocations: 339.7 kB / 324.9 MB, free: 23.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004827/0.2442, allocations: 328.9 kB / 325.3 MB, free: 23.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001953/0.2462, allocations: 1.044 MB / 326.3 MB, free: 22.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.344e-05/0.2462, allocations: 67.91 kB / 326.4 MB, free: 22.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007396/0.2536, allocations: 17.6 MB / 344 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.2536, allocations: 4 kB / 344 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/0.2558, allocations: 2.165 MB / 346.1 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/0.2561, allocations: 55.98 kB / 346.2 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009715/0.257, allocations: 91.95 kB / 346.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006239/0.2577, allocations: 213.5 kB / 346.5 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.2578, allocations: 44 kB / 346.5 MB, free: 1.254 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008281/0.2586, allocations: 0.7642 MB / 347.3 MB, free: 476 kB / 282.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2586, allocations: 0 / 347.3 MB, free: 476 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.00308/0.2617, allocations: 0.9453 MB / 348.2 MB, free: 15.52 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006534/0.2623, allocations: 240.1 kB / 348.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003282/0.2656, allocations: 2.808 MB / 351.3 MB, free: 12.37 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-05/0.2657, allocations: 44.38 kB / 351.3 MB, free: 12.33 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002476/0.2682, allocations: 2.496 MB / 353.8 MB, free: 9.703 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005538/0.2737, allocations: 8.119 MB / 361.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02636/0.3001, allocations: 7.552 MB / 369.5 MB, free: 8.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/0.3014, allocations: 1.059 MB / 370.5 MB, free: 7.188 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009708/0.3024, allocations: 282.3 kB / 370.8 MB, free: 6.906 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/0.3036, allocations: 0.6943 MB / 371.5 MB, free: 6.191 MB / 314.7 MB Notification: Performance of SimCode: time 1.993e-06/0.3036, allocations: 0 / 371.5 MB, free: 6.191 MB / 314.7 MB Notification: Performance of Templates: time 0.206/0.5097, allocations: 59.51 MB / 431 MB, free: 112.1 MB / 362.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.474929145537317]