Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001288/0.001288, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.00157/0.00157, allocations: 209 kB / 24.48 MB, free: 3.941 MB / 14.72 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.42/1.42, allocations: 230.6 MB / 258.2 MB, free: 7.773 MB / 206.1 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.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_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.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 47.94 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2115, allocations: 53.37 MB / 432.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01191/0.2235, allocations: 9.388 MB / 441.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006387/0.2298, allocations: 3.15 MB / 444.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.231, allocations: 107.2 kB / 445 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.2325, allocations: 0.7216 MB / 445.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002661/0.2352, allocations: 1.189 MB / 446.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008546/0.2361, allocations: 483.5 kB / 447.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005605/0.2417, allocations: 5.147 MB / 452.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003327/0.245, allocations: 2.495 MB / 455 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004337/0.2493, allocations: 2.447 MB / 457.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004112/0.2534, allocations: 2.83 MB / 460.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009346/0.2544, allocations: 0.6211 MB / 460.9 MB, free: 9.973 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.2558, allocations: 0.7108 MB / 461.6 MB, free: 9.262 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001509/0.2573, allocations: 1.648 MB / 463.3 MB, free: 7.609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002667/0.26, allocations: 2.249 MB / 465.5 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008669/0.2686, allocations: 8.487 MB / 474 MB, free: 12.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.2687, allocations: 4 kB / 474 MB, free: 12.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2687, allocations: 3.938 kB / 474 MB, free: 12.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000148/0.2688, allocations: 0 / 474 MB, free: 12.83 MB / 382.1 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.01069/0.2795, allocations: 5.151 MB / 479.2 MB, free: 7.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2795, allocations: 8.031 kB / 479.2 MB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001719/0.2812, allocations: 0.607 MB / 479.8 MB, free: 7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005748/0.287, allocations: 2.83 MB / 482.6 MB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000237/0.2872, allocations: 299.8 kB / 482.9 MB, free: 3.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000627/0.2879, allocations: 388 kB / 483.3 MB, free: 3.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/0.298, allocations: 6.131 MB / 489.4 MB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.458e-05/0.2981, allocations: 3.984 kB / 489.4 MB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003837/0.2985, allocations: 160 kB / 489.6 MB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002453/0.2987, allocations: 204 kB / 489.8 MB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008877/0.3076, allocations: 5.016 MB / 494.8 MB, free: 7.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02698/0.3346, allocations: 14.14 MB / 0.497 GB, free: 9.332 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005954/0.3406, allocations: 3.878 MB / 0.5008 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003771/0.3443, allocations: 2.446 MB / 0.5032 GB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002652/0.3446, allocations: 65.91 kB / 0.5033 GB, free: 3.059 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.018e-05/0.3446, allocations: 56.56 kB / 0.5033 GB, free: 2.992 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 5.009e-06/0.3447, allocations: 4 kB / 0.5033 GB, free: 2.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02052/0.3652, allocations: 10.01 MB / 0.5131 GB, free: 8.898 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.3652, allocations: 77.42 kB / 0.5132 GB, free: 8.809 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003365/0.3686, allocations: 2.204 MB / 0.5153 GB, free: 6.566 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001519/0.3688, allocations: 65.7 kB / 0.5154 GB, free: 6.496 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001386/0.3701, allocations: 1.7 MB / 0.517 GB, free: 4.781 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00077/0.3709, allocations: 0.8831 MB / 0.5179 GB, free: 3.891 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007026/0.3716, allocations: 412.7 kB / 0.5183 GB, free: 3.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3717, allocations: 309.1 kB / 0.5186 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002101/0.3739, allocations: 1.34 MB / 0.5199 GB, free: 1.832 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00237/0.3762, allocations: 1.654 MB / 0.5215 GB, free: 80 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004691/0.3809, allocations: 3.079 MB / 0.5245 GB, free: 12.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.3809, allocations: 4 kB / 0.5245 GB, free: 12.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007531/0.3884, allocations: 4.392 MB / 0.5288 GB, free: 8.398 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.3885, allocations: 8 kB / 0.5288 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.3885, allocations: 8 kB / 0.5288 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005686/0.3942, allocations: 1.639 MB / 0.5304 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/0.3957, allocations: 399.4 kB / 0.5308 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2035/0.5992, allocations: 24.25 MB / 0.5545 GB, free: 85.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.6007, allocations: 97.2 kB / 0.5546 GB, free: 85.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.6008, allocations: 78.59 kB / 0.5547 GB, free: 85.74 MB / 446.1 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.001651/0.6025, allocations: 1.403 MB / 0.556 GB, free: 85.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004044/0.6029, allocations: 276.1 kB / 0.5563 GB, free: 85.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005782/0.6087, allocations: 4.322 MB / 0.5605 GB, free: 83.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.6087, allocations: 28.44 kB / 0.5605 GB, free: 83.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.6087, allocations: 7.562 kB / 0.5606 GB, free: 83.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.6087, allocations: 12.47 kB / 0.5606 GB, free: 83.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.6193, allocations: 7.766 MB / 0.5682 GB, free: 76.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.6193, allocations: 0 / 0.5682 GB, free: 76.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.6205, allocations: 291.2 kB / 0.5684 GB, free: 75.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004791/0.6252, allocations: 1.617 MB / 0.57 GB, free: 74.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/0.6254, allocations: 59.98 kB / 0.5701 GB, free: 74.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01743/0.6428, allocations: 24.01 MB / 0.5935 GB, free: 49.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.6428, allocations: 0 / 0.5935 GB, free: 49.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007233/0.65, allocations: 6.032 MB / 0.5994 GB, free: 43.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/0.6515, allocations: 0.586 MB / 0.6 GB, free: 42.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003184/0.6518, allocations: 55.98 kB / 0.6 GB, free: 42.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.653, allocations: 122.1 kB / 0.6001 GB, free: 42.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004273/0.6534, allocations: 233.4 kB / 0.6004 GB, free: 42.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/0.6536, allocations: 67.98 kB / 0.6004 GB, free: 42.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001698/0.6553, allocations: 1.531 MB / 0.6019 GB, free: 40.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6553, allocations: 0 / 0.6019 GB, free: 40.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002841/0.6581, allocations: 0.9435 MB / 0.6028 GB, free: 39.8 MB / 446.1 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.0004949/0.6586, allocations: 254.2 kB / 0.6031 GB, free: 39.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005253/0.6639, allocations: 4.768 MB / 0.6077 GB, free: 34.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6639, allocations: 0 / 0.6077 GB, free: 34.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003528/0.6674, allocations: 3.276 MB / 0.6109 GB, free: 31.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/0.67, allocations: 0.7355 MB / 0.6117 GB, free: 30.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.6806, allocations: 8.59 MB / 0.6201 GB, free: 21.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002111/0.6827, allocations: 2.647 MB / 0.6226 GB, free: 19.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001301/0.684, allocations: 0.5173 MB / 0.6231 GB, free: 18.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/0.6844, allocations: 151.4 kB / 0.6233 GB, free: 18.57 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.6844, allocations: 0 / 0.6233 GB, free: 18.57 MB / 446.1 MB Notification: Performance of Templates: time 0.08729/0.7717, allocations: 58.11 MB / 0.68 GB, free: 9.234 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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: 9.587276355989161]