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.001119/0.001119, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001822/0.00294, allocations: 445.7 kB / 10.37 MB, free: 328 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.001355/0.001355, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001613/0.002968, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.9567/0.9567, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.16/1.117, allocations: 49.49 MB / 220.6 MB, free: 1.453 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.242e-06/1.242e-06, allocations: 0 / 221.9 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.273e-05, allocations: 6.25 kB / 221.9 MB, free: 148 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.0129/0.01293, allocations: 10.31 MB / 232.2 MB, free: 5.781 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006161/0.01909, allocations: 3.407 MB / 235.6 MB, free: 2.363 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.0208, allocations: 95.25 kB / 235.7 MB, free: 2.27 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.02243, allocations: 0.7487 MB / 236.4 MB, free: 1.516 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.02491, allocations: 1.215 MB / 237.6 MB, free: 300 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007975/0.02571, allocations: 0.5032 MB / 238.1 MB, free: 15.79 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004573/0.03028, allocations: 5.523 MB / 243.7 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002476/0.03276, allocations: 2.316 MB / 246 MB, free: 7.82 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004997/0.03776, allocations: 3.921 MB / 249.9 MB, free: 3.875 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003216/0.04097, allocations: 2.732 MB / 252.6 MB, free: 1.137 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001347/0.04232, allocations: 0.625 MB / 253.3 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.04389, allocations: 0.703 MB / 254 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001237/0.04512, allocations: 1.395 MB / 255.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002305/0.04743, allocations: 1.615 MB / 257 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00427/0.0517, allocations: 4.312 MB / 261.3 MB, free: 8.469 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.869e-05/0.05172, allocations: 0 / 261.3 MB, free: 8.469 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.05172, allocations: 0 / 261.3 MB, free: 8.469 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001551/0.05188, allocations: 0 / 261.3 MB, free: 8.469 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.007706/0.05958, allocations: 5.758 MB / 267 MB, free: 2.656 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.05962, allocations: 12.03 kB / 267 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.06083, allocations: 0.8099 MB / 267.9 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/0.06302, allocations: 1.511 MB / 269.4 MB, free: 236 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.06317, allocations: 296.3 kB / 269.7 MB, free: 15.94 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003748/0.06354, allocations: 391.8 kB / 270 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003396/0.06694, allocations: 3.229 MB / 273.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.932e-05/0.06699, allocations: 7.938 kB / 273.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002248/0.06721, allocations: 160 kB / 273.4 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001381/0.06735, allocations: 212 kB / 273.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/0.06902, allocations: 1.179 MB / 274.8 MB, free: 10.58 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01081/0.07983, allocations: 9.132 MB / 284 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1011/0.181, allocations: 1.966 MB / 285.9 MB, free: 48.82 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.1826, allocations: 1.056 MB / 287 MB, free: 48.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001977/0.1828, allocations: 68.09 kB / 287 MB, free: 48.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.1828, allocations: 61.03 kB / 287.1 MB, free: 48.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=249): time 4.9e-06/0.1828, allocations: 1.031 kB / 287.1 MB, free: 48.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=256): time 0.008416/0.1912, allocations: 4.111 MB / 291.2 MB, free: 48.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.1913, allocations: 78.52 kB / 291.3 MB, free: 48.15 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.1925, allocations: 1.432 MB / 292.7 MB, free: 47.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-05/0.1926, allocations: 71.45 kB / 292.8 MB, free: 47.9 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004943/0.1931, allocations: 1.378 MB / 294.2 MB, free: 47.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003436/0.1935, allocations: 0.8703 MB / 295 MB, free: 46.67 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003707/0.1938, allocations: 388.6 kB / 295.4 MB, free: 46.64 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.658e-05/0.1939, allocations: 310.9 kB / 295.7 MB, free: 46.33 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003805/0.1942, allocations: 305.6 kB / 296 MB, free: 46.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003946/0.1946, allocations: 0.545 MB / 296.6 MB, free: 46.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008134/0.1954, allocations: 1.064 MB / 297.6 MB, free: 45.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1955, allocations: 2.438 kB / 297.6 MB, free: 45.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.001695/0.1971, allocations: 1.645 MB / 299.3 MB, free: 45.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1972, allocations: 7.812 kB / 299.3 MB, free: 45.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.1972, allocations: 4.719 kB / 299.3 MB, free: 45.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/0.1991, allocations: 1.032 MB / 300.3 MB, free: 45.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008762/0.2, allocations: 491.5 kB / 300.8 MB, free: 45.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006811/0.2068, allocations: 17.4 MB / 318.2 MB, free: 30.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006019/0.2074, allocations: 63.92 kB / 318.3 MB, free: 30.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.474e-05/0.2075, allocations: 60 kB / 318.3 MB, free: 30.13 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.0005305/0.208, allocations: 248.3 kB / 318.6 MB, free: 29.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/0.2083, allocations: 269.9 kB / 318.8 MB, free: 29.62 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/0.21, allocations: 1.73 MB / 320.6 MB, free: 27.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.21, allocations: 24 kB / 320.6 MB, free: 27.79 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.21, allocations: 11.94 kB / 320.6 MB, free: 27.78 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.21, allocations: 11.95 kB / 320.6 MB, free: 27.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003858/0.2139, allocations: 3.745 MB / 324.3 MB, free: 24.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2139, allocations: 0 / 324.3 MB, free: 24.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006445/0.2145, allocations: 339.6 kB / 324.7 MB, free: 23.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004106/0.2149, allocations: 332.9 kB / 325 MB, free: 23.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00172/0.2167, allocations: 1.029 MB / 326 MB, free: 22.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.716e-05/0.2167, allocations: 59.92 kB / 326.1 MB, free: 22.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006507/0.2232, allocations: 17.61 MB / 343.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2232, allocations: 0 / 343.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.2251, allocations: 2.142 MB / 345.8 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.2253, allocations: 52.05 kB / 345.9 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004828/0.2258, allocations: 99.91 kB / 346 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.226, allocations: 209.5 kB / 346.2 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.281e-05/0.2261, allocations: 47.98 kB / 346.2 MB, free: 1.477 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004635/0.2265, allocations: 0.7642 MB / 347 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2265, allocations: 0 / 347 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001813/0.2284, allocations: 0.9522 MB / 348 MB, free: 15.73 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.0003722/0.2287, allocations: 233.6 kB / 348.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002219/0.231, allocations: 2.793 MB / 351 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.876e-05/0.231, allocations: 44.38 kB / 351 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001682/0.2327, allocations: 2.38 MB / 353.4 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.2342, allocations: 0.9591 MB / 354.4 MB, free: 9.047 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02629/0.2605, allocations: 7.549 MB / 361.9 MB, free: 1.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.2618, allocations: 1.063 MB / 363 MB, free: 352 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001113/0.2629, allocations: 290 kB / 363.3 MB, free: 56 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001698/0.2646, allocations: 0.6825 MB / 363.9 MB, free: 15.35 MB / 314.7 MB Notification: Performance of SimCode: time 1.252e-06/0.2646, allocations: 3.938 kB / 363.9 MB, free: 15.35 MB / 314.7 MB Notification: Performance of Templates: time 0.08879/0.3534, allocations: 58.79 MB / 422.7 MB, free: 4.477 MB / 362.7 MB " [Timeout remaining time 660] 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.382992126047611]