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.00169/0.00169, allocations: 76.55 kB / 21.24 MB, free: 0.6094 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.001597/0.001597, allocations: 162.3 kB / 24.49 MB, free: 3.902 MB / 14.72 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 1.362/1.362, allocations: 158.6 MB / 186.2 MB, free: 6.504 MB / 174.1 MB " [Timeout remaining time 178] 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.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..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.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 55.92 kB / 298.6 MB, free: 6.973 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2049, allocations: 49.15 MB / 347.8 MB, free: 15.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.0121/0.217, allocations: 9.302 MB / 357.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007563/0.2245, allocations: 3.178 MB / 360.3 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002158/0.2267, allocations: 99.19 kB / 360.4 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002249/0.2289, allocations: 0.7216 MB / 361.1 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003863/0.2328, allocations: 1.185 MB / 362.3 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.234, allocations: 0.4916 MB / 362.8 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006247/0.2403, allocations: 5.291 MB / 368 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003062/0.2433, allocations: 2.222 MB / 370.3 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006289/0.2496, allocations: 3.655 MB / 373.9 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004246/0.2539, allocations: 2.767 MB / 376.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009517/0.2548, allocations: 0.6211 MB / 377.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.2561, allocations: 0.703 MB / 378 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001527/0.2576, allocations: 1.64 MB / 379.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003018/0.2606, allocations: 2.245 MB / 381.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009484/0.2701, allocations: 8.483 MB / 390.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2701, allocations: 0 / 390.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2701, allocations: 0 / 390.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001992/0.2703, allocations: 0 / 390.4 MB, free: 4.859 MB / 350.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.01153/0.2818, allocations: 5.128 MB / 395.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.2819, allocations: 15.98 kB / 395.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.2834, allocations: 0.5681 MB / 396.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004763/0.2881, allocations: 2.596 MB / 398.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002597/0.2884, allocations: 299.8 kB / 399 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006078/0.289, allocations: 383.9 kB / 399.4 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.3004, allocations: 6.12 MB / 405.5 MB, free: 5.473 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.137e-05/0.3005, allocations: 0 / 405.5 MB, free: 5.473 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004254/0.3009, allocations: 164 kB / 405.6 MB, free: 5.312 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002366/0.3011, allocations: 204 kB / 405.8 MB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009923/0.311, allocations: 5.008 MB / 410.8 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02792/0.339, allocations: 14.13 MB / 425 MB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006035/0.345, allocations: 3.904 MB / 428.9 MB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004146/0.3491, allocations: 2.443 MB / 431.3 MB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003501/0.3495, allocations: 57.97 kB / 431.4 MB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.058e-05/0.3496, allocations: 68.48 kB / 431.4 MB, free: 11.31 MB / 398.1 MB Notification: Performance of pre-optimization done (n=249): time 5.571e-06/0.3496, allocations: 4 kB / 431.5 MB, free: 11.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=256): time 0.02246/0.372, allocations: 9.998 MB / 441.4 MB, free: 1.227 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.3721, allocations: 81.42 kB / 441.5 MB, free: 1.133 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004226/0.3763, allocations: 2.2 MB / 443.7 MB, free: 14.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003517/0.3767, allocations: 69.7 kB / 443.8 MB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.3781, allocations: 1.693 MB / 445.5 MB, free: 13.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00112/0.3793, allocations: 0.887 MB / 446.4 MB, free: 12.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/0.3803, allocations: 420.6 kB / 446.8 MB, free: 11.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3805, allocations: 305.1 kB / 447.1 MB, free: 11.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002566/0.383, allocations: 1.332 MB / 448.4 MB, free: 10.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002719/0.3857, allocations: 1.658 MB / 450.1 MB, free: 8.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005478/0.3912, allocations: 3.083 MB / 453.2 MB, free: 5.203 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/0.3912, allocations: 0 / 453.2 MB, free: 5.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00889/0.4001, allocations: 4.392 MB / 457.5 MB, free: 0.7305 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.4002, allocations: 11.98 kB / 457.6 MB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.4002, allocations: 8 kB / 457.6 MB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005764/0.4059, allocations: 1.632 MB / 459.2 MB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/0.4078, allocations: 395.5 kB / 459.6 MB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.245/0.6528, allocations: 24.23 MB / 483.8 MB, free: 99.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/0.655, allocations: 100.2 kB / 483.9 MB, free: 99.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004406/0.6554, allocations: 77.66 kB / 484 MB, free: 99.21 MB / 430.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.002507/0.6579, allocations: 1.412 MB / 485.4 MB, free: 98.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007559/0.6587, allocations: 274.4 kB / 485.7 MB, free: 98.53 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006684/0.6653, allocations: 4.315 MB / 490 MB, free: 96.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.6654, allocations: 23.06 kB / 490 MB, free: 96.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.6654, allocations: 11.44 kB / 490 MB, free: 96.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-05/0.6654, allocations: 18.27 kB / 490 MB, free: 96.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/0.6774, allocations: 7.764 MB / 497.8 MB, free: 91.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.6774, allocations: 0 / 497.8 MB, free: 91.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.6785, allocations: 289.9 kB / 498.1 MB, free: 91.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00452/0.6831, allocations: 1.621 MB / 499.7 MB, free: 89.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002557/0.6833, allocations: 55.98 kB / 499.8 MB, free: 89.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0183/0.7016, allocations: 24.03 MB / 0.5115 GB, free: 65.08 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.7016, allocations: 0 / 0.5115 GB, free: 65.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008623/0.7103, allocations: 6.029 MB / 0.5174 GB, free: 59.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/0.7117, allocations: 0.5886 MB / 0.518 GB, free: 58.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003601/0.7121, allocations: 56.45 kB / 0.518 GB, free: 58.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.7133, allocations: 115.9 kB / 0.5181 GB, free: 58.37 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005073/0.7138, allocations: 233.4 kB / 0.5184 GB, free: 58.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.7139, allocations: 64 kB / 0.5184 GB, free: 58.08 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001833/0.7157, allocations: 1.527 MB / 0.5199 GB, free: 56.53 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7157, allocations: 3.938 kB / 0.5199 GB, free: 56.53 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003226/0.719, allocations: 0.9472 MB / 0.5208 GB, free: 55.58 MB / 430.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.0005489/0.7195, allocations: 251.6 kB / 0.5211 GB, free: 55.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00571/0.7252, allocations: 4.766 MB / 0.5257 GB, free: 50.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.7252, allocations: 0 / 0.5257 GB, free: 50.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003918/0.7291, allocations: 3.271 MB / 0.5289 GB, free: 47.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00308/0.7322, allocations: 0.7208 MB / 0.5296 GB, free: 46.31 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.7443, allocations: 8.589 MB / 0.538 GB, free: 37.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002334/0.7466, allocations: 2.628 MB / 0.5406 GB, free: 35.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001453/0.748, allocations: 0.5173 MB / 0.5411 GB, free: 34.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004119/0.7485, allocations: 152.5 kB / 0.5412 GB, free: 34.39 MB / 430.1 MB Notification: Performance of SimCode: time 1.282e-06/0.7485, allocations: 0 / 0.5412 GB, free: 34.39 MB / 430.1 MB Notification: Performance of Templates: time 0.08147/0.8299, allocations: 52.38 MB / 0.5924 GB, free: 13.94 MB / 462.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.318116119131446]