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.001446/0.001446, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001321/0.001321, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.388/1.388, allocations: 225.6 MB / 250.8 MB, free: 13.38 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.00211/0.00211, allocations: 43.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3115, allocations: 52.15 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008502/0.32, allocations: 6.295 MB / 427.2 MB, free: 8.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003635/0.3236, allocations: 1.651 MB / 428.8 MB, free: 7.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.3246, allocations: 47.75 kB / 428.9 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000924/0.3256, allocations: 309.5 kB / 429.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.3272, allocations: 437.2 kB / 429.6 MB, free: 6.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008832/0.3281, allocations: 347.5 kB / 429.9 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002451/0.3306, allocations: 2.129 MB / 432 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001749/0.3323, allocations: 1.407 MB / 433.5 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.3335, allocations: 1.028 MB / 434.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.335, allocations: 1.245 MB / 435.7 MB, free: 128 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003474/0.3353, allocations: 288 kB / 436 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006426/0.336, allocations: 443.6 kB / 436.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006148/0.3366, allocations: 0.7051 MB / 437.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00115/0.3377, allocations: 1.229 MB / 438.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003459/0.3412, allocations: 3.638 MB / 442 MB, free: 9.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3412, allocations: 0 / 442 MB, free: 9.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3412, allocations: 0 / 442 MB, free: 9.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.369e-05/0.3412, allocations: 0 / 442 MB, free: 9.82 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.004325/0.3456, allocations: 2.532 MB / 444.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3456, allocations: 11.89 kB / 444.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004289/0.346, allocations: 239.5 kB / 444.8 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002031/0.3481, allocations: 1.303 MB / 446.1 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.3482, allocations: 148.5 kB / 446.2 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000302/0.3485, allocations: 208.1 kB / 446.4 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004357/0.3529, allocations: 2.614 MB / 449.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.887e-05/0.3529, allocations: 0 / 449.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001836/0.3531, allocations: 91.98 kB / 449.1 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.969e-05/0.3531, allocations: 52 kB / 449.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003425/0.3566, allocations: 2.089 MB / 451.3 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/0.3673, allocations: 7.309 MB / 458.6 MB, free: 8.836 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002385/0.3697, allocations: 2.275 MB / 460.9 MB, free: 6.328 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/0.3711, allocations: 0.8889 MB / 461.8 MB, free: 5.441 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.517e-05/0.3712, allocations: 16.98 kB / 461.8 MB, free: 5.426 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.3712, allocations: 51.44 kB / 461.8 MB, free: 5.367 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.146e-06/0.3712, allocations: 0 / 461.8 MB, free: 5.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.00765/0.3789, allocations: 4.188 MB / 466 MB, free: 1.055 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.3789, allocations: 68.34 kB / 466.1 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.38, allocations: 0.8602 MB / 466.9 MB, free: 112 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/0.3801, allocations: 41.7 kB / 467 MB, free: 64 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006198/0.3807, allocations: 0.8475 MB / 467.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002804/0.381, allocations: 349.1 kB / 468.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.3812, allocations: 174.6 kB / 468.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3814, allocations: 341.9 kB / 468.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007666/0.3822, allocations: 0.4899 MB / 469.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009184/0.3831, allocations: 0.6772 MB / 469.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.3848, allocations: 1.197 MB / 471 MB, free: 11.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.3848, allocations: 4 kB / 471 MB, free: 11.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002565/0.3874, allocations: 1.617 MB / 472.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.3874, allocations: 8 kB / 472.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.3874, allocations: 11.88 kB / 472.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.3884, allocations: 470.9 kB / 473.1 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006504/0.3891, allocations: 171.8 kB / 473.3 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009247/0.3983, allocations: 9.301 MB / 482.6 MB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005843/0.3989, allocations: 51.89 kB / 482.7 MB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.401e-05/0.399, allocations: 32 kB / 482.7 MB, free: 15.61 MB / 398.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.001041/0.4, allocations: 0.6457 MB / 483.3 MB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.4002, allocations: 103.3 kB / 483.4 MB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.4005, allocations: 134 kB / 483.6 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.939e-05/0.4005, allocations: 16 kB / 483.6 MB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.4005, allocations: 4 kB / 483.6 MB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.4005, allocations: 11.91 kB / 483.6 MB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00552/0.406, allocations: 3.462 MB / 487.1 MB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.406, allocations: 0 / 487.1 MB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000543/0.4066, allocations: 127.8 kB / 487.2 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009226/0.4075, allocations: 455 kB / 487.6 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/0.4076, allocations: 19.98 kB / 487.7 MB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009357/0.4169, allocations: 9.207 MB / 496.9 MB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.4169, allocations: 7.969 kB / 496.9 MB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004368/0.4213, allocations: 2.289 MB / 499.2 MB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006119/0.4219, allocations: 284.4 kB / 499.4 MB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.422, allocations: 20 kB / 499.5 MB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/0.4225, allocations: 51.88 kB / 499.5 MB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002514/0.4227, allocations: 88.81 kB / 499.6 MB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.238e-05/0.4228, allocations: 27.98 kB / 499.6 MB, free: 13.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008614/0.4236, allocations: 0.6083 MB / 0.4885 GB, free: 13.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4236, allocations: 0 / 0.4885 GB, free: 13.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001434/0.4251, allocations: 376 kB / 0.4889 GB, free: 12.98 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.0003016/0.4254, allocations: 154.2 kB / 0.489 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002834/0.4282, allocations: 1.777 MB / 0.4907 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4282, allocations: 0 / 0.4907 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00174/0.4299, allocations: 1.211 MB / 0.4919 GB, free: 9.738 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.4312, allocations: 299.2 kB / 0.4922 GB, free: 9.441 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006227/0.4374, allocations: 3.672 MB / 0.4958 GB, free: 5.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/0.4389, allocations: 1.714 MB / 0.4975 GB, free: 3.984 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005101/0.4394, allocations: 192.9 kB / 0.4977 GB, free: 3.793 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.4396, allocations: 67.42 kB / 0.4977 GB, free: 3.727 MB / 414.1 MB Notification: Performance of SimCode: time 1.163e-06/0.4396, allocations: 7.938 kB / 0.4977 GB, free: 3.719 MB / 414.1 MB Notification: Performance of Templates: time 0.03617/0.4758, allocations: 21.58 MB / 0.5188 GB, free: 14.38 MB / 446.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.340772308409214]