Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.001788/0.001788, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.002139/0.002139, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.501/1.501, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 51.92 kB / 374.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1056, allocations: 53.33 MB / 427.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.1915/0.2972, allocations: 6.905 MB / 434.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003812/0.301, allocations: 2.344 MB / 436.7 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007752/0.3018, allocations: 59.34 kB / 436.8 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.3028, allocations: 468.4 kB / 437.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.3044, allocations: 0.6764 MB / 437.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005299/0.3049, allocations: 276.3 kB / 438.2 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002821/0.3077, allocations: 2.845 MB / 441.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002051/0.3098, allocations: 1.868 MB / 442.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002749/0.3125, allocations: 1.352 MB / 444.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00256/0.3151, allocations: 1.572 MB / 445.8 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006906/0.3158, allocations: 352.7 kB / 446.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.3169, allocations: 441.9 kB / 446.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008326/0.3178, allocations: 0.9033 MB / 447.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001939/0.3197, allocations: 1.527 MB / 449 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005975/0.3257, allocations: 4.641 MB / 453.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3257, allocations: 4.938 kB / 453.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3257, allocations: 3.938 kB / 453.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001779/0.3259, allocations: 0 / 453.7 MB, free: 15.36 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.008615/0.3345, allocations: 3.04 MB / 456.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.3345, allocations: 14 kB / 456.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.3361, allocations: 347.8 kB / 457.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003596/0.3397, allocations: 1.679 MB / 458.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.3398, allocations: 165.3 kB / 458.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003906/0.3402, allocations: 209.5 kB / 459.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005969/0.3462, allocations: 3.183 MB / 462.3 MB, free: 9.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.994e-05/0.3462, allocations: 1.094 kB / 462.3 MB, free: 9.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002355/0.3465, allocations: 91.58 kB / 462.4 MB, free: 9.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/0.3466, allocations: 112.5 kB / 462.5 MB, free: 9.746 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004928/0.3515, allocations: 2.729 MB / 465.2 MB, free: 8.293 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01613/0.3676, allocations: 8.783 MB / 474 MB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003884/0.3715, allocations: 3.288 MB / 477.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002082/0.3736, allocations: 1.233 MB / 478.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002856/0.3739, allocations: 126.3 kB / 478.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/0.3739, allocations: 55.81 kB / 478.7 MB, free: 12.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.056e-06/0.3739, allocations: 0 / 478.7 MB, free: 12.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01211/0.3861, allocations: 5.763 MB / 484.5 MB, free: 6.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.3861, allocations: 64.72 kB / 484.6 MB, free: 6.637 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002619/0.3887, allocations: 1.506 MB / 486.1 MB, free: 5.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002416/0.389, allocations: 45.7 kB / 486.1 MB, free: 5.059 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009244/0.3899, allocations: 0.9628 MB / 487.1 MB, free: 4.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004754/0.3904, allocations: 464 kB / 487.5 MB, free: 3.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003903/0.3908, allocations: 222.9 kB / 487.7 MB, free: 3.402 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.391, allocations: 353.9 kB / 488.1 MB, free: 3.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.3921, allocations: 0.6974 MB / 488.8 MB, free: 2.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.3934, allocations: 0.859 MB / 489.6 MB, free: 1.445 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002353/0.3957, allocations: 1.605 MB / 491.2 MB, free: 15.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.3957, allocations: 4 kB / 491.3 MB, free: 15.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004132/0.3999, allocations: 2.295 MB / 493.5 MB, free: 13.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.3999, allocations: 4 kB / 493.5 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.3999, allocations: 4 kB / 493.6 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002765/0.4027, allocations: 0.831 MB / 494.4 MB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008513/0.4035, allocations: 203.8 kB / 494.6 MB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01386/0.4174, allocations: 11.5 MB / 0.4942 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.4187, allocations: 51.95 kB / 0.4943 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.4189, allocations: 40 kB / 0.4943 GB, free: 292 kB / 398.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.001552/0.4204, allocations: 0.8214 MB / 0.4951 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004232/0.4209, allocations: 167 kB / 0.4953 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0043/0.4252, allocations: 2.253 MB / 0.4975 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/0.4252, allocations: 16 kB / 0.4975 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.4252, allocations: 4 kB / 0.4975 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/0.4252, allocations: 11.97 kB / 0.4975 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008346/0.4336, allocations: 4.689 MB / 0.5021 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.4336, allocations: 8.125 kB / 0.5021 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006526/0.4342, allocations: 155.8 kB / 0.5022 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002596/0.4368, allocations: 0.806 MB / 0.503 GB, free: 7.223 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.17e-05/0.4369, allocations: 36.05 kB / 0.5031 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01293/0.4498, allocations: 11.37 MB / 0.5142 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4498, allocations: 0 / 0.5142 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005437/0.4553, allocations: 3.224 MB / 0.5173 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.4563, allocations: 412 kB / 0.5177 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/0.4565, allocations: 31.98 kB / 0.5177 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000827/0.4574, allocations: 63.89 kB / 0.5178 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003007/0.4577, allocations: 121.1 kB / 0.5179 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.472e-05/0.4578, allocations: 32 kB / 0.5179 GB, free: 7.316 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001676/0.4594, allocations: 1.064 MB / 0.519 GB, free: 6.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4594, allocations: 0 / 0.519 GB, free: 6.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001967/0.4614, allocations: 0.5194 MB / 0.5195 GB, free: 5.73 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.0005225/0.4619, allocations: 215.1 kB / 0.5197 GB, free: 5.523 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003923/0.4658, allocations: 2.357 MB / 0.522 GB, free: 3.109 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4658, allocations: 0 / 0.522 GB, free: 3.109 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002531/0.4684, allocations: 1.582 MB / 0.5235 GB, free: 1.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/0.4709, allocations: 0.5049 MB / 0.524 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008872/0.4798, allocations: 4.685 MB / 0.5286 GB, free: 12.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001916/0.4817, allocations: 1.991 MB / 0.5306 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004876/0.4822, allocations: 99.42 kB / 0.5307 GB, free: 10.12 MB / 446.1 MB Notification: Performance of SimCode: time 1.322e-06/0.4822, allocations: 0 / 0.5307 GB, free: 10.12 MB / 446.1 MB Notification: Performance of Templates: time 0.09332/0.5755, allocations: 76 MB / 0.6049 GB, free: 14.15 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 13.604724894015817]