Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001002/0.001002, allocations: 85.91 kB / 22.22 MB, free: 2.281 MB / 18.57 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.0009464/0.0009464, allocations: 157.6 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9272/0.9272, allocations: 177 MB / 205.9 MB, free: 4.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 274.1 MB, free: 4.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.482e-05, allocations: 3.156 kB / 274.1 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.00916/0.009185, allocations: 10.33 MB / 284.5 MB, free: 9.871 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006241/0.01543, allocations: 3.247 MB / 287.7 MB, free: 6.621 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.01738, allocations: 111.2 kB / 287.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.01942, allocations: 0.7374 MB / 288.6 MB, free: 5.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003536/0.02295, allocations: 1.265 MB / 289.8 MB, free: 4.496 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.02415, allocations: 491.3 kB / 290.3 MB, free: 4.016 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005753/0.0299, allocations: 5.386 MB / 295.7 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003188/0.03309, allocations: 2.445 MB / 298.1 MB, free: 12.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008232/0.04132, allocations: 3.678 MB / 301.8 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005243/0.04656, allocations: 2.783 MB / 304.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00209/0.04865, allocations: 0.625 MB / 305.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003317/0.05197, allocations: 0.7108 MB / 305.9 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002199/0.05417, allocations: 1.741 MB / 307.7 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003903/0.05807, allocations: 1.965 MB / 309.6 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005883/0.06396, allocations: 4.627 MB / 314.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.06396, allocations: 0 / 314.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.06397, allocations: 4 kB / 314.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001956/0.06416, allocations: 0 / 314.3 MB, free: 11.96 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.008262/0.07242, allocations: 5.301 MB / 319.6 MB, free: 6.598 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.07246, allocations: 8.031 kB / 319.6 MB, free: 6.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/0.07422, allocations: 0.9273 MB / 320.5 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003257/0.07748, allocations: 2.415 MB / 322.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.07765, allocations: 292.2 kB / 323.2 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004854/0.07813, allocations: 400.3 kB / 323.6 MB, free: 2.496 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004621/0.08275, allocations: 3.195 MB / 326.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.575e-05/0.08281, allocations: 4 kB / 326.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002579/0.08307, allocations: 160 kB / 327 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001665/0.08323, allocations: 236 kB / 327.2 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.08538, allocations: 1.109 MB / 328.3 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01692/0.1023, allocations: 11.81 MB / 340.1 MB, free: 1.516 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/0.1043, allocations: 2.122 MB / 342.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.1055, allocations: 1.161 MB / 343.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/0.1057, allocations: 65.98 kB / 343.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.1058, allocations: 63.39 kB / 343.5 MB, free: 14.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=249): time 4.649e-06/0.1058, allocations: 0 / 343.5 MB, free: 14.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=256): time 0.008269/0.114, allocations: 4.498 MB / 348 MB, free: 9.609 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.1141, allocations: 77.42 kB / 348.1 MB, free: 9.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.1159, allocations: 1.756 MB / 349.8 MB, free: 7.719 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002309/0.1161, allocations: 73.7 kB / 349.9 MB, free: 7.641 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000962/0.1171, allocations: 1.83 MB / 351.7 MB, free: 5.793 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006758/0.1178, allocations: 0.9181 MB / 352.7 MB, free: 4.867 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004697/0.1182, allocations: 454.7 kB / 353.1 MB, free: 4.414 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1183, allocations: 488.7 kB / 353.6 MB, free: 3.934 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004029/0.1187, allocations: 276.5 kB / 353.9 MB, free: 3.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008797/0.1196, allocations: 0.7168 MB / 354.6 MB, free: 2.812 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.1207, allocations: 1.146 MB / 355.7 MB, free: 1.512 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.1207, allocations: 0 / 355.7 MB, free: 1.512 MB / 330.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.1353/0.256, allocations: 2.008 MB / 357.7 MB, free: 78.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.256, allocations: 9.734 kB / 357.7 MB, free: 78.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/0.2561, allocations: 6.156 kB / 357.7 MB, free: 78.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00397/0.26, allocations: 1.074 MB / 358.8 MB, free: 77.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.2612, allocations: 375.9 kB / 359.2 MB, free: 77.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/0.2719, allocations: 23.64 MB / 382.8 MB, free: 58.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.2731, allocations: 64.59 kB / 382.9 MB, free: 58.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.2732, allocations: 58.06 kB / 382.9 MB, free: 58.65 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.0008757/0.2741, allocations: 289.6 kB / 383.2 MB, free: 58.47 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004116/0.2745, allocations: 372.3 kB / 383.6 MB, free: 58.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.2768, allocations: 2.02 MB / 385.6 MB, free: 58 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.2768, allocations: 24.59 kB / 385.6 MB, free: 58 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.2768, allocations: 7.125 kB / 385.6 MB, free: 58 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.2768, allocations: 13.03 kB / 385.7 MB, free: 58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005294/0.2821, allocations: 4.497 MB / 390.2 MB, free: 56.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.2821, allocations: 3.938 kB / 390.2 MB, free: 56.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00057/0.2827, allocations: 272.3 kB / 390.4 MB, free: 56.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002136/0.2848, allocations: 1.064 MB / 391.5 MB, free: 56.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.2849, allocations: 63.38 kB / 391.6 MB, free: 56.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00862/0.2936, allocations: 23.51 MB / 415.1 MB, free: 32.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2936, allocations: 7.875 kB / 415.1 MB, free: 32.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00314/0.2967, allocations: 2.493 MB / 417.6 MB, free: 29.72 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009416/0.2976, allocations: 484.1 kB / 418 MB, free: 29.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000271/0.2979, allocations: 52 kB / 418.1 MB, free: 29.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008273/0.2987, allocations: 100.6 kB / 418.2 MB, free: 29.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004464/0.2992, allocations: 197.6 kB / 418.4 MB, free: 28.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.2993, allocations: 59.92 kB / 418.4 MB, free: 28.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001029/0.3003, allocations: 0.9711 MB / 419.4 MB, free: 27.94 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3003, allocations: 0 / 419.4 MB, free: 27.94 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003079/0.3034, allocations: 0.9604 MB / 420.4 MB, free: 26.98 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.0005002/0.3039, allocations: 244.3 kB / 420.6 MB, free: 26.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003195/0.3071, allocations: 3.485 MB / 424.1 MB, free: 23.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.3071, allocations: 4 kB / 424.1 MB, free: 23.1 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002273/0.3094, allocations: 3.022 MB / 427.1 MB, free: 19.94 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/0.3118, allocations: 0.7496 MB / 427.9 MB, free: 19.19 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009512/0.3213, allocations: 7.138 MB / 435 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.3224, allocations: 1.265 MB / 436.3 MB, free: 10.78 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009268/0.3233, allocations: 282 kB / 436.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/0.3246, allocations: 0.7707 MB / 437.3 MB, free: 9.727 MB / 330.7 MB Notification: Performance of SimCode: time 1.383e-06/0.3246, allocations: 0 / 437.3 MB, free: 9.727 MB / 330.7 MB Notification: Performance of Templates: time 0.09241/0.417, allocations: 56.91 MB / 494.2 MB, free: 1.438 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.751068679150194]