Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.005566/0.005566, allocations: 107.9 kB / 21.97 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001465, allocations: 218.2 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.428/1.428, allocations: 230.5 MB / 259 MB, free: 8.027 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 64.55 kB / 379.8 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3211, allocations: 53.36 MB / 433.2 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01316/0.3342, allocations: 10.81 MB / 444 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007236/0.3415, allocations: 3.244 MB / 447.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/0.3434, allocations: 115.2 kB / 447.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.3454, allocations: 0.7449 MB / 448.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003377/0.3488, allocations: 1.177 MB / 449.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.3499, allocations: 491.3 kB / 449.8 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006786/0.3566, allocations: 5.155 MB / 454.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003801/0.3604, allocations: 2.499 MB / 457.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004698/0.3651, allocations: 2.438 MB / 459.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004777/0.3699, allocations: 2.833 MB / 462.7 MB, free: 9.281 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001241/0.3712, allocations: 0.6211 MB / 463.3 MB, free: 8.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001947/0.3731, allocations: 0.7108 MB / 464 MB, free: 7.949 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001808/0.3749, allocations: 1.652 MB / 465.7 MB, free: 6.293 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004136/0.3791, allocations: 2.762 MB / 468.4 MB, free: 3.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.3892, allocations: 8.452 MB / 476.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3892, allocations: 0 / 476.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3892, allocations: 0 / 476.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002058/0.3894, allocations: 0 / 476.9 MB, free: 11.04 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.01214/0.4015, allocations: 5.163 MB / 482.1 MB, free: 5.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4016, allocations: 8.031 kB / 482.1 MB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/0.4034, allocations: 0.5993 MB / 482.7 MB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005763/0.4092, allocations: 2.834 MB / 485.5 MB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002375/0.4094, allocations: 299.8 kB / 485.8 MB, free: 2.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007038/0.4101, allocations: 380 kB / 486.2 MB, free: 1.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/0.4208, allocations: 5.809 MB / 492 MB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.038e-05/0.4209, allocations: 0 / 492 MB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003943/0.4213, allocations: 164 kB / 492.1 MB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000208/0.4215, allocations: 204 kB / 492.3 MB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009711/0.4312, allocations: 5.032 MB / 497.4 MB, free: 6.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03018/0.4614, allocations: 16.11 MB / 0.5014 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006581/0.468, allocations: 3.901 MB / 0.5052 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004595/0.4725, allocations: 2.446 MB / 0.5076 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003232/0.4729, allocations: 65.94 kB / 0.5077 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.927e-05/0.4729, allocations: 60.56 kB / 0.5078 GB, free: 15.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 4.378e-06/0.4729, allocations: 0 / 0.5078 GB, free: 15.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=256): time 0.02126/0.4942, allocations: 10.04 MB / 0.5176 GB, free: 5.445 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.4943, allocations: 81.41 kB / 0.5176 GB, free: 5.352 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004314/0.4986, allocations: 2.636 MB / 0.5202 GB, free: 2.695 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004215/0.499, allocations: 69.7 kB / 0.5203 GB, free: 2.621 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001423/0.5004, allocations: 1.683 MB / 0.5219 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009975/0.5014, allocations: 0.8792 MB / 0.5228 GB, free: 36 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007112/0.5021, allocations: 412.8 kB / 0.5232 GB, free: 15.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.5023, allocations: 309.1 kB / 0.5235 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002204/0.5045, allocations: 1.336 MB / 0.5248 GB, free: 13.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002464/0.5069, allocations: 1.655 MB / 0.5264 GB, free: 12.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004774/0.5117, allocations: 3.076 MB / 0.5294 GB, free: 9.027 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/0.5117, allocations: 8 kB / 0.5294 GB, free: 9.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008053/0.5198, allocations: 4.431 MB / 0.5337 GB, free: 4.508 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.5198, allocations: 8 kB / 0.5337 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/0.5198, allocations: 8 kB / 0.5337 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005352/0.5252, allocations: 1.643 MB / 0.5354 GB, free: 2.816 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.5268, allocations: 391.5 kB / 0.5357 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2296/0.7565, allocations: 24.7 MB / 0.5599 GB, free: 82.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.7583, allocations: 98.84 kB / 0.5599 GB, free: 82.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000207/0.7585, allocations: 77.09 kB / 0.56 GB, free: 82.25 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.001753/0.7602, allocations: 1.404 MB / 0.5614 GB, free: 81.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004807/0.7607, allocations: 309.5 kB / 0.5617 GB, free: 81.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005932/0.7666, allocations: 4.351 MB / 0.5659 GB, free: 79.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.7667, allocations: 24.75 kB / 0.566 GB, free: 79.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/0.7667, allocations: 10.19 kB / 0.566 GB, free: 79.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/0.7667, allocations: 11.95 kB / 0.566 GB, free: 79.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/0.7781, allocations: 8.74 MB / 0.5745 GB, free: 71.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.7781, allocations: 0 / 0.5745 GB, free: 71.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.7792, allocations: 295.6 kB / 0.5748 GB, free: 71.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004368/0.7835, allocations: 1.614 MB / 0.5764 GB, free: 70.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/0.7837, allocations: 63.97 kB / 0.5764 GB, free: 69.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01753/0.8012, allocations: 24.46 MB / 0.6003 GB, free: 44.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8013, allocations: 0 / 0.6003 GB, free: 44.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007408/0.8087, allocations: 6.067 MB / 0.6062 GB, free: 38.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001557/0.8102, allocations: 0.6352 MB / 0.6069 GB, free: 37.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004321/0.8106, allocations: 59.98 kB / 0.6069 GB, free: 37.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.8119, allocations: 115.9 kB / 0.607 GB, free: 37.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004387/0.8124, allocations: 229.4 kB / 0.6073 GB, free: 37.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/0.8125, allocations: 60 kB / 0.6073 GB, free: 37.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002209/0.8147, allocations: 1.86 MB / 0.6091 GB, free: 35.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8147, allocations: 0 / 0.6091 GB, free: 35.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00311/0.8178, allocations: 0.9511 MB / 0.6101 GB, free: 34.52 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.0005263/0.8183, allocations: 255.5 kB / 0.6103 GB, free: 34.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005438/0.8238, allocations: 4.769 MB / 0.615 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.8238, allocations: 0 / 0.615 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003692/0.8275, allocations: 3.276 MB / 0.6182 GB, free: 25.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003546/0.831, allocations: 0.9473 MB / 0.6191 GB, free: 25.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.8422, allocations: 8.619 MB / 0.6275 GB, free: 16.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/0.8443, allocations: 3.099 MB / 0.6305 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006274/0.8449, allocations: 175.4 kB / 0.6307 GB, free: 13.1 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.8449, allocations: 0 / 0.6307 GB, free: 13.1 MB / 446.1 MB Notification: Performance of Templates: time 0.4267/1.272, allocations: 262.3 MB / 0.8869 GB, free: 41.59 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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: 20.2503156659659]