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.0009863/0.0009863, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 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.001076/0.001076, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 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 0.9711/0.9711, allocations: 173.4 MB / 201.1 MB, free: 9.348 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 268 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.461e-05, allocations: 2.312 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.005738/0.005763, allocations: 6.082 MB / 274.1 MB, free: 344 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.008692, allocations: 1.643 MB / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005033/0.009195, allocations: 59.62 kB / 275.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004497/0.009645, allocations: 309.5 kB / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009852/0.01063, allocations: 452.6 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007514/0.01138, allocations: 359.4 kB / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.01283, allocations: 2.195 MB / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.01409, allocations: 1.364 MB / 280.4 MB, free: 9.895 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.01544, allocations: 1.591 MB / 282 MB, free: 8.301 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.01669, allocations: 1.158 MB / 283.2 MB, free: 7.141 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003851/0.01707, allocations: 291.9 kB / 283.5 MB, free: 6.855 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000492/0.01757, allocations: 415.7 kB / 283.9 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004407/0.01801, allocations: 0.7323 MB / 284.6 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007827/0.01879, allocations: 0.8654 MB / 285.5 MB, free: 4.848 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.02052, allocations: 2.04 MB / 287.5 MB, free: 2.801 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.02052, allocations: 0 / 287.5 MB, free: 2.801 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.02053, allocations: 0 / 287.5 MB, free: 2.801 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.784e-05/0.02059, allocations: 3.938 kB / 287.5 MB, free: 2.797 MB / 266.7 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.003179/0.02377, allocations: 2.61 MB / 290.1 MB, free: 136 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.02383, allocations: 8.922 kB / 290.1 MB, free: 128 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1356/0.1594, allocations: 406.8 kB / 290.5 MB, free: 24.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/0.161, allocations: 1.119 MB / 291.6 MB, free: 24.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.524e-05/0.1611, allocations: 153.8 kB / 291.8 MB, free: 24.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.1613, allocations: 208 kB / 292 MB, free: 24.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/0.1636, allocations: 1.583 MB / 293.6 MB, free: 23.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.1637, allocations: 3.375 kB / 293.6 MB, free: 23.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.1638, allocations: 88.75 kB / 293.7 MB, free: 23.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.388e-05/0.1639, allocations: 52.48 kB / 293.7 MB, free: 23.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.1653, allocations: 0.6883 MB / 294.4 MB, free: 23.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006572/0.1718, allocations: 6.075 MB / 300.5 MB, free: 21.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009755/0.1728, allocations: 0.8322 MB / 301.3 MB, free: 20.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006583/0.1735, allocations: 0.4906 MB / 301.8 MB, free: 20.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.191e-05/0.1735, allocations: 16.12 kB / 301.8 MB, free: 20.69 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.1735, allocations: 50.14 kB / 301.9 MB, free: 20.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.886e-06/0.1735, allocations: 2.594 kB / 301.9 MB, free: 20.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.00337/0.1769, allocations: 2.32 MB / 304.2 MB, free: 19.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.1769, allocations: 66.41 kB / 304.3 MB, free: 19.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005422/0.1775, allocations: 0.7601 MB / 305 MB, free: 19.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.1775, allocations: 41.23 kB / 305.1 MB, free: 19.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/0.1779, allocations: 0.9118 MB / 306 MB, free: 18.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.178, allocations: 356.6 kB / 306.3 MB, free: 18.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.1782, allocations: 189.8 kB / 306.5 MB, free: 18.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.1782, allocations: 0.5314 MB / 307 MB, free: 17.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.1785, allocations: 149.8 kB / 307.2 MB, free: 17.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.1788, allocations: 422.2 kB / 307.6 MB, free: 17.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005585/0.1793, allocations: 0.6169 MB / 308.2 MB, free: 16.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1793, allocations: 2.297 kB / 308.2 MB, free: 16.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0009903/0.1803, allocations: 0.8814 MB / 309.1 MB, free: 16.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1804, allocations: 7.812 kB / 309.1 MB, free: 16.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1804, allocations: 5.312 kB / 309.1 MB, free: 16.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004969/0.1809, allocations: 256.6 kB / 309.4 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.1812, allocations: 168.6 kB / 309.5 MB, free: 16.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003363/0.1846, allocations: 9.208 MB / 318.7 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.1848, allocations: 47.95 kB / 318.8 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.394e-05/0.1849, allocations: 32.12 kB / 318.8 MB, free: 6.867 MB / 266.7 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.0002235/0.1851, allocations: 216.6 kB / 319 MB, free: 6.656 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.1852, allocations: 139.3 kB / 319.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.202e-05/0.1853, allocations: 125.8 kB / 319.3 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.1853, allocations: 23.95 kB / 319.3 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.1853, allocations: 2.297 kB / 319.3 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1853, allocations: 3.984 kB / 319.3 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.1876, allocations: 2.317 MB / 321.6 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1876, allocations: 0 / 321.6 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.1879, allocations: 126.8 kB / 321.7 MB, free: 3.891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004095/0.1883, allocations: 250.3 kB / 322 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/0.1883, allocations: 16 kB / 322 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00418/0.1925, allocations: 9.135 MB / 331.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.1925, allocations: 3.938 kB / 331.1 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.1939, allocations: 1.15 MB / 332.3 MB, free: 8.883 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002319/0.1941, allocations: 191.2 kB / 332.5 MB, free: 8.695 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.576e-05/0.1942, allocations: 18.3 kB / 332.5 MB, free: 8.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.1944, allocations: 47.83 kB / 332.5 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.1945, allocations: 103.8 kB / 332.6 MB, free: 8.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/0.1946, allocations: 27.98 kB / 332.7 MB, free: 8.508 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000385/0.195, allocations: 478.9 kB / 333.1 MB, free: 8.047 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.195, allocations: 0 / 333.1 MB, free: 8.047 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009148/0.1959, allocations: 376 kB / 333.5 MB, free: 7.68 MB / 282.7 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.0002112/0.1961, allocations: 146.5 kB / 333.7 MB, free: 7.531 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.1973, allocations: 1.401 MB / 335.1 MB, free: 6.078 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1974, allocations: 4.188 kB / 335.1 MB, free: 6.074 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008138/0.1982, allocations: 1.148 MB / 336.2 MB, free: 4.867 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000702/0.1989, allocations: 291.7 kB / 336.5 MB, free: 4.586 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003641/0.2025, allocations: 3.149 MB / 339.6 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.2029, allocations: 0.5279 MB / 340.2 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002627/0.2032, allocations: 152.5 kB / 340.3 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.2033, allocations: 68.48 kB / 340.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2033, allocations: 0 / 340.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of Templates: time 0.02574/0.2291, allocations: 21.04 MB / 361.4 MB, free: 11.91 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.453863088041544]