Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 180.9 kB / 23.71 MB, free: 4.695 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier")
translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 43.92 kB / 370.9 MB, free: 9.363 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2655, allocations: 52.18 MB / 423.1 MB, free: 14.71 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008316/0.2738, allocations: 6.287 MB / 429.4 MB, free: 8.391 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003918/0.2777, allocations: 1.659 MB / 431.1 MB, free: 6.727 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0006752/0.2784, allocations: 51.69 kB / 431.1 MB, free: 6.676 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006627/0.2791, allocations: 313.5 kB / 431.4 MB, free: 6.367 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001304/0.2804, allocations: 441.2 kB / 431.9 MB, free: 5.934 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006891/0.2811, allocations: 355.5 kB / 432.2 MB, free: 5.586 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002393/0.2835, allocations: 2.137 MB / 434.3 MB, free: 3.441 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002096/0.2855, allocations: 1.397 MB / 435.7 MB, free: 1.98 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001467/0.287, allocations: 1.052 MB / 436.8 MB, free: 0.9258 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001952/0.289, allocations: 1.249 MB / 438 MB, free: 15.67 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0005299/0.2895, allocations: 292 kB / 438.3 MB, free: 15.39 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.2905, allocations: 495.6 kB / 438.8 MB, free: 14.9 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0007556/0.2913, allocations: 0.709 MB / 439.5 MB, free: 14.19 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001521/0.2928, allocations: 1.225 MB / 440.7 MB, free: 12.96 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.004263/0.2971, allocations: 3.647 MB / 444.4 MB, free: 9.305 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2971, allocations: 0 / 444.4 MB, free: 9.305 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.363e-06/0.2971, allocations: 0 / 444.4 MB, free: 9.305 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 6.211e-05/0.2971, allocations: 4 kB / 444.4 MB, free: 9.301 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: 531
 * Number of variables: 531
Notification: Performance of Generate backend data structure: time 0.005132/0.3023, allocations: 2.453 MB / 446.8 MB, free: 6.801 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.3023, allocations: 11.97 kB / 446.9 MB, free: 6.789 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005475/0.3029, allocations: 247.4 kB / 447.1 MB, free: 6.547 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/0.3051, allocations: 1.227 MB / 448.3 MB, free: 5.285 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.3052, allocations: 152.5 kB / 448.5 MB, free: 5.133 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000323/0.3055, allocations: 204.1 kB / 448.7 MB, free: 4.934 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.004823/0.3103, allocations: 2.622 MB / 451.3 MB, free: 2.223 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/0.3104, allocations: 0 / 451.3 MB, free: 2.223 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/0.3106, allocations: 83.94 kB / 451.4 MB, free: 2.141 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.915e-05/0.3107, allocations: 52 kB / 451.4 MB, free: 2.09 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003872/0.3145, allocations: 2.093 MB / 453.5 MB, free: 15.98 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01251/0.3271, allocations: 7.2 MB / 460.7 MB, free: 8.598 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002188/0.3292, allocations: 1.317 MB / 462 MB, free: 7.293 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.3309, allocations: 0.8815 MB / 462.9 MB, free: 6.414 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.909e-05/0.331, allocations: 16.94 kB / 462.9 MB, free: 6.398 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.331, allocations: 43.56 kB / 463 MB, free: 6.344 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=96): time 3.316e-06/0.331, allocations: 0 / 463 MB, free: 6.344 MB / 366.1 MB
Notification: Performance of matching and sorting (n=97): time 0.00839/0.3394, allocations: 3.902 MB / 466.9 MB, free: 2.398 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.3395, allocations: 64.34 kB / 466.9 MB, free: 2.324 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.3407, allocations: 0.8564 MB / 467.8 MB, free: 1.461 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 9.079e-05/0.3408, allocations: 41.7 kB / 467.8 MB, free: 1.414 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0006972/0.3415, allocations: 0.8475 MB / 468.7 MB, free: 0.5547 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003768/0.3419, allocations: 341.1 kB / 469 MB, free: 224 kB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003102/0.3422, allocations: 182.5 kB / 469.2 MB, free: 32 kB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002121/0.3424, allocations: 350 kB / 469.5 MB, free: 15.68 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000842/0.3432, allocations: 0.4899 MB / 470 MB, free: 15.19 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/0.3442, allocations: 0.6694 MB / 470.7 MB, free: 14.45 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001837/0.3461, allocations: 1.201 MB / 471.9 MB, free: 13.18 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.3461, allocations: 4 kB / 471.9 MB, free: 13.18 MB / 382.1 MB
Notification: Performance of matching and sorting (n=123) (initialization): time 0.002892/0.349, allocations: 1.609 MB / 473.5 MB, free: 11.55 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.349, allocations: 8 kB / 473.5 MB, free: 11.55 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.349, allocations: 4 kB / 473.5 MB, free: 11.54 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.3502, allocations: 474.8 kB / 474 MB, free: 11.07 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007074/0.3509, allocations: 179.7 kB / 474.2 MB, free: 10.89 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.3612, allocations: 8.88 MB / 483 MB, free: 1.559 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006937/0.3619, allocations: 51.89 kB / 483.1 MB, free: 1.508 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.21e-05/0.3619, allocations: 36 kB / 483.1 MB, free: 1.473 MB / 382.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 22
 * Number of states: 0 ()
 * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (88):
 * Single equations (assignments): 82
 * Array equations: 2
 * 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
   {(1,9,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.001176/0.3631, allocations: 0.642 MB / 483.8 MB, free: 0.8203 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.3634, allocations: 111.3 kB / 483.9 MB, free: 0.7109 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.3637, allocations: 138 kB / 484 MB, free: 0.5664 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.259e-05/0.3637, allocations: 12 kB / 484 MB, free: 0.5547 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.3637, allocations: 3.984 kB / 484 MB, free: 0.5508 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.3637, allocations: 7.922 kB / 484 MB, free: 0.543 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006271/0.37, allocations: 3.449 MB / 487.5 MB, free: 13.02 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.37, allocations: 0 / 487.5 MB, free: 13.02 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006146/0.3706, allocations: 131.8 kB / 487.6 MB, free: 12.89 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001052/0.3717, allocations: 451.4 kB / 488.1 MB, free: 12.43 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.827e-05/0.3717, allocations: 27.98 kB / 488.1 MB, free: 12.41 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/0.3819, allocations: 8.789 MB / 496.9 MB, free: 3.168 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3819, allocations: 0 / 496.9 MB, free: 3.168 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003915/0.3858, allocations: 2.301 MB / 499.2 MB, free: 0.832 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0006241/0.3864, allocations: 211.2 kB / 499.4 MB, free: 0.625 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.3865, allocations: 23.94 kB / 499.4 MB, free: 0.6016 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004691/0.387, allocations: 44.06 kB / 499.4 MB, free: 0.5586 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000236/0.3872, allocations: 92.77 kB / 499.5 MB, free: 476 kB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-05/0.3873, allocations: 28 kB / 499.6 MB, free: 448 kB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0009116/0.3882, allocations: 0.6122 MB / 0.4885 GB, free: 15.83 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.3882, allocations: 0 / 0.4885 GB, free: 15.83 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.001581/0.3898, allocations: 379.9 kB / 0.4888 GB, free: 15.46 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v)
 * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (62):
 * Single equations (assignments): 56
 * Array equations: 2
 * 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
   {(1,9,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.0003453/0.3901, allocations: 150.5 kB / 0.489 GB, free: 15.31 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.003166/0.3933, allocations: 1.78 MB / 0.4907 GB, free: 13.48 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3933, allocations: 0 / 0.4907 GB, free: 13.48 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001928/0.3952, allocations: 1.208 MB / 0.4919 GB, free: 12.22 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.3967, allocations: 298.3 kB / 0.4922 GB, free: 11.93 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006773/0.4034, allocations: 3.68 MB / 0.4958 GB, free: 8.207 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/0.4051, allocations: 1.718 MB / 0.4974 GB, free: 6.457 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0006103/0.4057, allocations: 192.9 kB / 0.4976 GB, free: 6.266 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.4059, allocations: 63.44 kB / 0.4977 GB, free: 6.203 MB / 414.1 MB
Notification: Performance of SimCode: time 9.52e-07/0.4059, allocations: 3.938 kB / 0.4977 GB, free: 6.199 MB / 414.1 MB
Notification: Performance of Templates: time 0.04005/0.4459, allocations: 21.92 MB / 0.5191 GB, free: 0.5078 MB / 430.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.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: 5.333721483126283]