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.0011/0.0011, allocations: 79.73 kB / 21.97 MB, free: 2.602 MB / 18.57 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.001171/0.001171, allocations: 161.3 kB / 25.32 MB, free: 9.219 MB / 18.57 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.9233/0.9233, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.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.633e-06/1.633e-06, allocations: 0 / 251.1 MB, free: 7.477 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.182e-05, allocations: 6.312 kB / 251.1 MB, free: 7.469 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.009071/0.009103, allocations: 10.52 MB / 261.6 MB, free: 12.9 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005838/0.01494, allocations: 3.269 MB / 264.9 MB, free: 9.621 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001742/0.01668, allocations: 91.25 kB / 265 MB, free: 9.531 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.01825, allocations: 0.737 MB / 265.7 MB, free: 8.789 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003159/0.02141, allocations: 1.226 MB / 266.9 MB, free: 7.555 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009996/0.02241, allocations: 0.5032 MB / 267.4 MB, free: 7.051 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004671/0.02708, allocations: 5.457 MB / 272.9 MB, free: 1.57 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002477/0.02956, allocations: 2.249 MB / 275.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005998/0.03556, allocations: 3.62 MB / 278.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00456/0.04012, allocations: 2.736 MB / 281.5 MB, free: 8.906 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001362/0.04148, allocations: 0.6211 MB / 282.1 MB, free: 8.285 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.04325, allocations: 0.6991 MB / 282.8 MB, free: 7.586 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001362/0.04462, allocations: 1.722 MB / 284.5 MB, free: 5.859 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00337/0.04799, allocations: 1.957 MB / 286.5 MB, free: 3.898 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005552/0.05354, allocations: 4.576 MB / 291.1 MB, free: 15.31 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.05354, allocations: 4 kB / 291.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.05355, allocations: 0 / 291.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001568/0.0537, allocations: 0 / 291.1 MB, free: 15.3 MB / 282.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.006904/0.06061, allocations: 5.411 MB / 296.5 MB, free: 9.828 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.06065, allocations: 15.97 kB / 296.5 MB, free: 9.812 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/0.06198, allocations: 0.8922 MB / 297.4 MB, free: 8.918 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002684/0.06466, allocations: 2.298 MB / 299.7 MB, free: 6.547 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.0648, allocations: 288.2 kB / 300 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003718/0.06517, allocations: 403.8 kB / 300.4 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004553/0.06973, allocations: 3.456 MB / 303.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.982e-05/0.06978, allocations: 4 kB / 303.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002296/0.07001, allocations: 156 kB / 304 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001441/0.07015, allocations: 212 kB / 304.2 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002809/0.07296, allocations: 1.472 MB / 305.7 MB, free: 380 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01507/0.08803, allocations: 12.81 MB / 318.5 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003161/0.09119, allocations: 2.351 MB / 320.8 MB, free: 1.031 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001935/0.09313, allocations: 1.306 MB / 322.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002267/0.09336, allocations: 77.97 kB / 322.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.09341, allocations: 63.39 kB / 322.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=249): time 6.843e-06/0.09342, allocations: 0 / 322.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=256): time 0.0115/0.1049, allocations: 5.717 MB / 328 MB, free: 9.766 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.105, allocations: 77.42 kB / 328 MB, free: 9.676 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/0.1073, allocations: 1.838 MB / 329.9 MB, free: 7.793 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001212/0.1074, allocations: 77.7 kB / 330 MB, free: 7.711 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.1085, allocations: 1.795 MB / 331.8 MB, free: 5.898 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006455/0.1091, allocations: 0.9183 MB / 332.7 MB, free: 4.973 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005926/0.1097, allocations: 446.8 kB / 333.1 MB, free: 4.527 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1098, allocations: 476.8 kB / 333.6 MB, free: 4.059 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008323/0.1107, allocations: 380.5 kB / 333.9 MB, free: 3.684 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.1118, allocations: 0.8068 MB / 334.8 MB, free: 2.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00204/0.1138, allocations: 1.314 MB / 336.1 MB, free: 1.281 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.1138, allocations: 0 / 336.1 MB, free: 1.281 MB / 314.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.004177/0.118, allocations: 2.241 MB / 338.3 MB, free: 14.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.118, allocations: 11.98 kB / 338.3 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.1181, allocations: 11.94 kB / 338.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003227/0.1213, allocations: 1.113 MB / 339.4 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.1224, allocations: 383.5 kB / 339.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1311/0.2535, allocations: 24.28 MB / 364.1 MB, free: 82.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.2547, allocations: 96.56 kB / 364.2 MB, free: 82.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.2548, allocations: 80.39 kB / 364.3 MB, free: 82.28 MB / 330.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.000818/0.2556, allocations: 284.2 kB / 364.5 MB, free: 82.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004483/0.256, allocations: 372.9 kB / 364.9 MB, free: 82.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002819/0.2589, allocations: 2.287 MB / 367.2 MB, free: 81.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.2589, allocations: 24.84 kB / 367.2 MB, free: 81.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.2589, allocations: 13.16 kB / 367.2 MB, free: 81.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.2589, allocations: 10.97 kB / 367.2 MB, free: 81.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006289/0.2652, allocations: 5.616 MB / 372.9 MB, free: 81.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.2652, allocations: 3.938 kB / 372.9 MB, free: 81.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/0.2658, allocations: 285.4 kB / 373.1 MB, free: 81.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002262/0.2681, allocations: 1.13 MB / 374.3 MB, free: 81.03 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.2682, allocations: 55.59 kB / 374.3 MB, free: 81.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009423/0.2776, allocations: 24.12 MB / 398.4 MB, free: 57.92 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.2776, allocations: 4 kB / 398.5 MB, free: 57.92 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003599/0.2812, allocations: 2.831 MB / 401.3 MB, free: 55.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007893/0.282, allocations: 0.5204 MB / 401.8 MB, free: 54.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.2822, allocations: 55.98 kB / 401.9 MB, free: 54.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005943/0.2828, allocations: 119.9 kB / 402 MB, free: 54.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004209/0.2832, allocations: 233.5 kB / 402.2 MB, free: 54.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.744e-05/0.2833, allocations: 67.98 kB / 402.3 MB, free: 54.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001066/0.2844, allocations: 1.07 MB / 403.3 MB, free: 53.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2844, allocations: 0 / 403.3 MB, free: 53.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002212/0.2866, allocations: 0.9529 MB / 404.3 MB, free: 52.12 MB / 330.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.0004645/0.2871, allocations: 249.4 kB / 404.5 MB, free: 51.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002831/0.2899, allocations: 3.67 MB / 408.2 MB, free: 48.04 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2899, allocations: 4 kB / 408.2 MB, free: 48.03 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001822/0.2917, allocations: 3.107 MB / 411.3 MB, free: 44.74 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.2934, allocations: 0.7493 MB / 412.1 MB, free: 43.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007604/0.301, allocations: 7.156 MB / 419.2 MB, free: 36.8 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008402/0.3019, allocations: 1.257 MB / 420.5 MB, free: 35.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001077/0.3029, allocations: 417.7 kB / 420.9 MB, free: 35.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/0.3032, allocations: 152.5 kB / 421 MB, free: 34.96 MB / 330.7 MB Notification: Performance of SimCode: time 1.633e-06/0.3032, allocations: 0 / 421 MB, free: 34.96 MB / 330.7 MB Notification: Performance of Templates: time 0.05498/0.3582, allocations: 54.7 MB / 475.7 MB, free: 12.3 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 -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.690500476863235]