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.0015/0.0015, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001652/0.001652, allocations: 205.9 kB / 24.49 MB, free: 4.137 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.401/1.401, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.0017/0.0017, allocations: 51.92 kB / 379.1 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2256, allocations: 53.37 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01336/0.2389, allocations: 10.8 MB / 443.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006976/0.2459, allocations: 3.26 MB / 446.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/0.2479, allocations: 107.2 kB / 446.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002298/0.2502, allocations: 0.7449 MB / 447.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003772/0.254, allocations: 1.177 MB / 448.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.2554, allocations: 491.4 kB / 449 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0067/0.2621, allocations: 5.143 MB / 454.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00453/0.2666, allocations: 2.501 MB / 456.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004982/0.2716, allocations: 2.45 MB / 459.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004955/0.2765, allocations: 2.826 MB / 461.9 MB, free: 9.273 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001651/0.2782, allocations: 0.6211 MB / 462.5 MB, free: 8.652 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002207/0.2804, allocations: 0.7147 MB / 463.3 MB, free: 7.938 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002381/0.2828, allocations: 1.648 MB / 464.9 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00497/0.2877, allocations: 2.766 MB / 467.7 MB, free: 3.508 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.2989, allocations: 8.452 MB / 476.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2989, allocations: 0 / 476.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2989, allocations: 0 / 476.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002448/0.2992, allocations: 4 kB / 476.1 MB, free: 11.02 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.01339/0.3126, allocations: 5.155 MB / 481.3 MB, free: 5.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3126, allocations: 12.03 kB / 481.3 MB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/0.3146, allocations: 0.5915 MB / 481.9 MB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006161/0.3208, allocations: 2.838 MB / 484.7 MB, free: 2.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/0.3211, allocations: 295.8 kB / 485 MB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008343/0.3219, allocations: 392 kB / 485.4 MB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.3326, allocations: 5.801 MB / 491.2 MB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.029e-05/0.3326, allocations: 0 / 491.2 MB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003922/0.333, allocations: 164 kB / 491.4 MB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002353/0.3333, allocations: 208 kB / 491.6 MB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009848/0.3431, allocations: 5.032 MB / 496.6 MB, free: 6.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03256/0.3757, allocations: 16.1 MB / 0.5007 GB, free: 5.938 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006395/0.3821, allocations: 3.905 MB / 0.5045 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004044/0.3861, allocations: 2.446 MB / 0.5069 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003011/0.3864, allocations: 65.95 kB / 0.5069 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.903e-05/0.3865, allocations: 56.56 kB / 0.507 GB, free: 15.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 4.478e-06/0.3865, allocations: 0 / 0.507 GB, free: 15.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=256): time 0.02132/0.4078, allocations: 10.05 MB / 0.5168 GB, free: 5.434 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.4078, allocations: 81.42 kB / 0.5169 GB, free: 5.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005176/0.413, allocations: 2.64 MB / 0.5195 GB, free: 2.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003857/0.4134, allocations: 69.7 kB / 0.5195 GB, free: 2.605 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.4149, allocations: 1.679 MB / 0.5212 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001029/0.4159, allocations: 0.8792 MB / 0.522 GB, free: 24 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/0.4169, allocations: 416.8 kB / 0.5224 GB, free: 15.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.417, allocations: 309.1 kB / 0.5227 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002258/0.4193, allocations: 1.336 MB / 0.524 GB, free: 13.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002523/0.4218, allocations: 1.654 MB / 0.5256 GB, free: 12.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004874/0.4267, allocations: 3.083 MB / 0.5287 GB, free: 9.004 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.657e-06/0.4267, allocations: 0 / 0.5287 GB, free: 9.004 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008104/0.4348, allocations: 4.435 MB / 0.533 GB, free: 4.488 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.4348, allocations: 4 kB / 0.533 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.4348, allocations: 8 kB / 0.533 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005425/0.4403, allocations: 1.639 MB / 0.5346 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.4418, allocations: 395.4 kB / 0.535 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2146/0.6564, allocations: 24.71 MB / 0.5591 GB, free: 82.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/0.6582, allocations: 95.77 kB / 0.5592 GB, free: 82.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/0.6584, allocations: 77.62 kB / 0.5593 GB, free: 82.33 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.001887/0.6603, allocations: 1.404 MB / 0.5606 GB, free: 81.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004743/0.6608, allocations: 312 kB / 0.5609 GB, free: 81.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006003/0.6668, allocations: 4.352 MB / 0.5652 GB, free: 79.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.6668, allocations: 26.62 kB / 0.5652 GB, free: 79.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.6668, allocations: 6.875 kB / 0.5652 GB, free: 79.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.6668, allocations: 11.95 kB / 0.5652 GB, free: 79.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/0.6787, allocations: 8.735 MB / 0.5738 GB, free: 71.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.6787, allocations: 3.984 kB / 0.5738 GB, free: 71.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.6798, allocations: 295.6 kB / 0.574 GB, free: 71.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004478/0.6843, allocations: 1.616 MB / 0.5756 GB, free: 70.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002154/0.6845, allocations: 59.98 kB / 0.5757 GB, free: 69.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01802/0.7025, allocations: 24.46 MB / 0.5996 GB, free: 44.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.7025, allocations: 0 / 0.5996 GB, free: 44.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007617/0.7101, allocations: 6.071 MB / 0.6055 GB, free: 38.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/0.7118, allocations: 0.6286 MB / 0.6061 GB, free: 37.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004588/0.7122, allocations: 59.98 kB / 0.6062 GB, free: 37.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.7135, allocations: 119.9 kB / 0.6063 GB, free: 37.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004418/0.7139, allocations: 221.5 kB / 0.6065 GB, free: 37.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.7141, allocations: 63.98 kB / 0.6065 GB, free: 37.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002182/0.7162, allocations: 1.856 MB / 0.6084 GB, free: 35.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7162, allocations: 0 / 0.6084 GB, free: 35.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00326/0.7195, allocations: 0.955 MB / 0.6093 GB, free: 34.53 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.0005334/0.72, allocations: 256.8 kB / 0.6095 GB, free: 34.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005517/0.7255, allocations: 4.763 MB / 0.6142 GB, free: 29.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7256, allocations: 0 / 0.6142 GB, free: 29.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003586/0.7291, allocations: 3.269 MB / 0.6174 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003467/0.7326, allocations: 0.9606 MB / 0.6183 GB, free: 25.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.7438, allocations: 8.622 MB / 0.6267 GB, free: 16.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002046/0.7459, allocations: 3.099 MB / 0.6298 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000687/0.7465, allocations: 179.4 kB / 0.6299 GB, free: 13.11 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.7465, allocations: 0 / 0.6299 GB, free: 13.11 MB / 446.1 MB Notification: Performance of Templates: time 0.4186/1.165, allocations: 262.3 MB / 0.8861 GB, free: 41.68 MB / 0.5294 GB " [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 -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: 18.026262652128935]