Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.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.00184/0.00184, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002481/0.002481, allocations: 209.4 kB / 23.74 MB, free: 4.66 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 8.039 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.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.1.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.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 51.92 kB / 378.3 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2691, allocations: 53.37 MB / 431.6 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008767/0.2779, allocations: 6.293 MB / 437.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003883/0.2818, allocations: 1.714 MB / 439.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005863/0.2823, allocations: 51.69 kB / 439.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006758/0.283, allocations: 309.5 kB / 440 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.2844, allocations: 449.2 kB / 440.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006977/0.2851, allocations: 355.4 kB / 440.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002349/0.2875, allocations: 2.145 MB / 442.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002151/0.2896, allocations: 1.403 MB / 444.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001436/0.291, allocations: 1.055 MB / 445.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.2929, allocations: 1.241 MB / 446.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003852/0.2933, allocations: 288 kB / 446.9 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008174/0.2941, allocations: 475.6 kB / 447.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006954/0.2948, allocations: 0.7012 MB / 448.1 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001522/0.2963, allocations: 1.241 MB / 449.3 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004159/0.3005, allocations: 3.641 MB / 453 MB, free: 1.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3005, allocations: 4 kB / 453 MB, free: 1.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3005, allocations: 0 / 453 MB, free: 1.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.056e-05/0.3005, allocations: 0 / 453 MB, free: 1.48 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.004857/0.3054, allocations: 2.457 MB / 455.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.3054, allocations: 12.03 kB / 455.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007145/0.3062, allocations: 263.5 kB / 455.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/0.3086, allocations: 1.258 MB / 456.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.3088, allocations: 156.5 kB / 457.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003006/0.3091, allocations: 212.1 kB / 457.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004648/0.3137, allocations: 2.618 MB / 459.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.146e-05/0.3138, allocations: 4 kB / 459.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001936/0.314, allocations: 80 kB / 460 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-05/0.3141, allocations: 55.98 kB / 460.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003725/0.3178, allocations: 2.089 MB / 462.1 MB, free: 8.102 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01195/0.3297, allocations: 7.192 MB / 469.3 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.3318, allocations: 1.304 MB / 470.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/0.3333, allocations: 0.8894 MB / 471.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.656e-05/0.3334, allocations: 12.94 kB / 471.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.3334, allocations: 47.55 kB / 471.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.617e-06/0.3334, allocations: 3.938 kB / 471.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.0115/0.3449, allocations: 3.891 MB / 475.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.074e-05/0.345, allocations: 64.34 kB / 475.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/0.3471, allocations: 0.872 MB / 476.4 MB, free: 9.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.3472, allocations: 41.7 kB / 476.5 MB, free: 9.535 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001077/0.3483, allocations: 0.8553 MB / 477.3 MB, free: 8.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005505/0.3489, allocations: 349 kB / 477.7 MB, free: 8.324 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005069/0.3494, allocations: 174.6 kB / 477.8 MB, free: 8.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002628/0.3496, allocations: 345.9 kB / 478.2 MB, free: 7.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.3509, allocations: 493.7 kB / 478.6 MB, free: 7.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.3523, allocations: 0.6772 MB / 479.3 MB, free: 6.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002741/0.3551, allocations: 1.205 MB / 480.5 MB, free: 5.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.3551, allocations: 0 / 480.5 MB, free: 5.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004342/0.3594, allocations: 1.617 MB / 482.1 MB, free: 3.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.3594, allocations: 8 kB / 482.2 MB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/0.3595, allocations: 8 kB / 482.2 MB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001754/0.3612, allocations: 467 kB / 482.6 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.3623, allocations: 171.7 kB / 482.8 MB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01457/0.3769, allocations: 8.891 MB / 491.7 MB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.3781, allocations: 51.89 kB / 491.7 MB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.3782, allocations: 32 kB / 491.8 MB, free: 9.586 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.002007/0.3802, allocations: 0.6434 MB / 492.4 MB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003815/0.3806, allocations: 107.4 kB / 492.5 MB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004019/0.381, allocations: 138.1 kB / 492.6 MB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.602e-05/0.3811, allocations: 12 kB / 492.7 MB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/0.3811, allocations: 0 / 492.7 MB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.3811, allocations: 7.922 kB / 492.7 MB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00921/0.3903, allocations: 3.461 MB / 496.1 MB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.3903, allocations: 0 / 496.1 MB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008567/0.3912, allocations: 124 kB / 496.2 MB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/0.3927, allocations: 459 kB / 496.7 MB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.88e-05/0.3928, allocations: 23.98 kB / 496.7 MB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01359/0.4064, allocations: 8.79 MB / 0.4937 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4064, allocations: 0 / 0.4937 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005824/0.4122, allocations: 2.297 MB / 0.4959 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009364/0.4131, allocations: 211.3 kB / 0.4961 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002714/0.4134, allocations: 23.98 kB / 0.4961 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007959/0.4142, allocations: 43.95 kB / 0.4962 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003394/0.4145, allocations: 88.77 kB / 0.4963 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.254e-05/0.4146, allocations: 28 kB / 0.4963 GB, free: 8.559 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001133/0.4157, allocations: 0.616 MB / 0.4969 GB, free: 7.949 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4157, allocations: 0 / 0.4969 GB, free: 7.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002349/0.4181, allocations: 383.9 kB / 0.4972 GB, free: 7.574 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.0003423/0.4184, allocations: 135.2 kB / 0.4974 GB, free: 7.434 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003238/0.4217, allocations: 1.781 MB / 0.4991 GB, free: 5.605 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4217, allocations: 0 / 0.4991 GB, free: 5.605 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001959/0.4236, allocations: 1.215 MB / 0.5003 GB, free: 4.336 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.4252, allocations: 303.3 kB / 0.5006 GB, free: 4.035 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007294/0.4325, allocations: 3.686 MB / 0.5042 GB, free: 316 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/0.4344, allocations: 1.718 MB / 0.5059 GB, free: 14.56 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006329/0.435, allocations: 192.9 kB / 0.5061 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.4353, allocations: 67.42 kB / 0.5061 GB, free: 14.3 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4353, allocations: 4 kB / 0.5061 GB, free: 14.3 MB / 430.1 MB Notification: Performance of Templates: time 0.04484/0.4801, allocations: 21.89 MB / 0.5275 GB, free: 8.637 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.744424004107714]