Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.001615/0.001615, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001801/0.001801, allocations: 219.5 kB / 24.48 MB, free: 3.836 MB / 14.72 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 1.428/1.428, allocations: 230.5 MB / 258.1 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 59.89 kB / 379 MB, free: 2.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2491, allocations: 53.41 MB / 432.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008703/0.2578, allocations: 6.179 MB / 438.6 MB, free: 384 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004793/0.2625, allocations: 2.235 MB / 440.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008736/0.2634, allocations: 63.56 kB / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.2646, allocations: 449 kB / 441.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.2665, allocations: 0.7148 MB / 442 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005509/0.2671, allocations: 275.6 kB / 442.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003272/0.2703, allocations: 2.875 MB / 445.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.2722, allocations: 1.324 MB / 446.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002535/0.2747, allocations: 1.382 MB / 447.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002322/0.277, allocations: 1.557 MB / 449.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005151/0.2775, allocations: 352 kB / 449.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008476/0.2784, allocations: 435.8 kB / 450.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008806/0.2793, allocations: 0.9076 MB / 451.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001533/0.2808, allocations: 1.245 MB / 452.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00508/0.2859, allocations: 4.69 MB / 457 MB, free: 13.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2859, allocations: 0 / 457 MB, free: 13.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2859, allocations: 0 / 457 MB, free: 13.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.369e-05/0.286, allocations: 4 kB / 457.1 MB, free: 13.79 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 0.006267/0.2922, allocations: 2.979 MB / 460 MB, free: 10.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.2923, allocations: 8.031 kB / 460 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.2933, allocations: 351.1 kB / 460.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003389/0.2967, allocations: 1.631 MB / 462 MB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.2969, allocations: 168.5 kB / 462.2 MB, free: 8.566 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003478/0.2972, allocations: 212 kB / 462.4 MB, free: 8.359 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006156/0.3034, allocations: 3.382 MB / 465.8 MB, free: 4.848 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.344e-05/0.3034, allocations: 4 kB / 465.8 MB, free: 4.844 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002192/0.3036, allocations: 87.98 kB / 465.9 MB, free: 4.758 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001462/0.3038, allocations: 124.5 kB / 466 MB, free: 4.633 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005083/0.3088, allocations: 2.746 MB / 468.7 MB, free: 1.871 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01497/0.3238, allocations: 7.656 MB / 476.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003005/0.3268, allocations: 1.935 MB / 478.3 MB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002039/0.3289, allocations: 1.23 MB / 479.5 MB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002099/0.3291, allocations: 49.28 kB / 479.6 MB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.3291, allocations: 43.88 kB / 479.6 MB, free: 6.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.497e-06/0.3291, allocations: 0 / 479.6 MB, free: 6.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01131/0.3404, allocations: 5.302 MB / 484.9 MB, free: 1.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.636e-05/0.3405, allocations: 64.72 kB / 485 MB, free: 1.402 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/0.3425, allocations: 1.282 MB / 486.3 MB, free: 108 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001445/0.3427, allocations: 49.7 kB / 486.3 MB, free: 52 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008421/0.3435, allocations: 0.989 MB / 487.3 MB, free: 15.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004459/0.344, allocations: 460 kB / 487.8 MB, free: 14.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003758/0.3443, allocations: 222.9 kB / 488 MB, free: 14.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.3445, allocations: 353.9 kB / 488.3 MB, free: 14.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.3457, allocations: 0.6974 MB / 489 MB, free: 13.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.347, allocations: 0.859 MB / 489.9 MB, free: 12.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002467/0.3495, allocations: 1.604 MB / 491.5 MB, free: 10.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3495, allocations: 0 / 491.5 MB, free: 10.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004159/0.3537, allocations: 2.275 MB / 493.8 MB, free: 8.469 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.3537, allocations: 11.94 kB / 493.8 MB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.3537, allocations: 11.98 kB / 493.8 MB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002697/0.3564, allocations: 0.815 MB / 494.6 MB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008115/0.3572, allocations: 207.7 kB / 494.8 MB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01352/0.3707, allocations: 10.87 MB / 0.4938 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.3718, allocations: 47.97 kB / 0.4939 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.981e-05/0.3718, allocations: 43.98 kB / 0.4939 GB, free: 12.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (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 (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001387/0.3732, allocations: 0.8176 MB / 0.4947 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000302/0.3735, allocations: 151 kB / 0.4949 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004177/0.3777, allocations: 2.244 MB / 0.4971 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/0.3777, allocations: 16 kB / 0.4971 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3777, allocations: 4 kB / 0.4971 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.3777, allocations: 7.922 kB / 0.4971 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008005/0.3857, allocations: 4.161 MB / 0.5011 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.3858, allocations: 0 / 0.5011 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006945/0.3864, allocations: 159.9 kB / 0.5013 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002625/0.3891, allocations: 0.8076 MB / 0.5021 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.35e-05/0.3892, allocations: 31.98 kB / 0.5021 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/0.4021, allocations: 10.77 MB / 0.5126 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.4021, allocations: 4.031 kB / 0.5126 GB, free: 8.363 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005297/0.4074, allocations: 3.192 MB / 0.5158 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009063/0.4083, allocations: 319 kB / 0.5161 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.4085, allocations: 31.94 kB / 0.5161 GB, free: 4.785 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007295/0.4092, allocations: 67.89 kB / 0.5162 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/0.4095, allocations: 125 kB / 0.5163 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.341e-05/0.4096, allocations: 32 kB / 0.5163 GB, free: 4.562 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001399/0.411, allocations: 0.9071 MB / 0.5172 GB, free: 3.648 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.411, allocations: 4 kB / 0.5172 GB, free: 3.645 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001737/0.4127, allocations: 0.5117 MB / 0.5177 GB, free: 3.133 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005394/0.4133, allocations: 211.4 kB / 0.5179 GB, free: 2.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003867/0.4171, allocations: 2.342 MB / 0.5202 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4171, allocations: 0.875 kB / 0.5202 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002461/0.4196, allocations: 1.593 MB / 0.5217 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/0.4213, allocations: 400 kB / 0.5221 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007974/0.4293, allocations: 4.701 MB / 0.5267 GB, free: 9.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001682/0.431, allocations: 1.426 MB / 0.5281 GB, free: 8.277 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003517/0.4313, allocations: 87.42 kB / 0.5282 GB, free: 8.191 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4313, allocations: 0 / 0.5282 GB, free: 8.191 MB / 446.1 MB Notification: Performance of Templates: time 0.2647/0.6961, allocations: 75.2 MB / 0.6016 GB, free: 40.91 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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: 12.289603161159903]