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.0018/0.0018, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.001844/0.001844, allocations: 153.1 kB / 24.26 MB, free: 172 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 1.519/1.519, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 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 1.403e-06/1.403e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.659e-05, allocations: 6.312 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.009402/0.009429, allocations: 6.013 MB / 273.3 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004286/0.01371, allocations: 1.639 MB / 275 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.01478, allocations: 59.69 kB / 275 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.01584, allocations: 313.4 kB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001962/0.0178, allocations: 448.7 kB / 275.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009994/0.0188, allocations: 351.4 kB / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003104/0.02191, allocations: 2.21 MB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002303/0.02421, allocations: 1.352 MB / 279.7 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002255/0.02647, allocations: 1.587 MB / 281.3 MB, free: 8.672 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/0.02834, allocations: 1.173 MB / 282.4 MB, free: 7.496 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004456/0.02879, allocations: 292 kB / 282.7 MB, free: 7.211 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000799/0.02959, allocations: 415.6 kB / 283.1 MB, free: 6.805 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00077/0.03036, allocations: 0.7285 MB / 283.8 MB, free: 6.074 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.0316, allocations: 0.8654 MB / 284.7 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004298/0.0359, allocations: 3.704 MB / 288.4 MB, free: 1.492 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.0359, allocations: 0 / 288.4 MB, free: 1.492 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.0359, allocations: 0 / 288.4 MB, free: 1.492 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.057e-05/0.03595, allocations: 0 / 288.4 MB, free: 1.492 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.1333/0.1692, allocations: 2.791 MB / 291.2 MB, free: 31.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.1693, allocations: 9.062 kB / 291.2 MB, free: 31.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008186/0.1701, allocations: 401.4 kB / 291.6 MB, free: 30.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002411/0.1725, allocations: 1.175 MB / 292.8 MB, free: 30.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.1726, allocations: 157.4 kB / 292.9 MB, free: 30.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002807/0.1729, allocations: 198.9 kB / 293.1 MB, free: 30.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004712/0.1776, allocations: 2.692 MB / 295.8 MB, free: 28.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.476e-05/0.1777, allocations: 1.094 kB / 295.8 MB, free: 28.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/0.1778, allocations: 84.91 kB / 295.9 MB, free: 28.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.729e-05/0.1779, allocations: 57.78 kB / 296 MB, free: 28.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003165/0.1811, allocations: 1.873 MB / 297.8 MB, free: 28.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/0.1927, allocations: 7.825 MB / 305.7 MB, free: 23.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.194, allocations: 1.203 MB / 306.9 MB, free: 22.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/0.1951, allocations: 0.7992 MB / 307.7 MB, free: 21.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.764e-05/0.1952, allocations: 17 kB / 307.7 MB, free: 21.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.1952, allocations: 46.33 kB / 307.7 MB, free: 21.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 3.146e-06/0.1952, allocations: 0 / 307.7 MB, free: 21.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.006148/0.2014, allocations: 3.529 MB / 311.3 MB, free: 17.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.2014, allocations: 60.41 kB / 311.3 MB, free: 17.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009717/0.2024, allocations: 1.023 MB / 312.3 MB, free: 16.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.663e-05/0.2024, allocations: 41.7 kB / 312.4 MB, free: 16.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/0.2028, allocations: 0.9502 MB / 313.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.2029, allocations: 374 kB / 313.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.2032, allocations: 214 kB / 313.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.2033, allocations: 0.5512 MB / 314.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005164/0.2038, allocations: 405.7 kB / 314.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006203/0.2045, allocations: 0.6868 MB / 315.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.2056, allocations: 1.145 MB / 316.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.2056, allocations: 4 kB / 316.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001943/0.2076, allocations: 1.491 MB / 318.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.2076, allocations: 8 kB / 318.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.2076, allocations: 4 kB / 318.2 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009429/0.2085, allocations: 448.8 kB / 318.6 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000611/0.2091, allocations: 171.7 kB / 318.8 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007394/0.2165, allocations: 10.9 MB / 329.7 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006701/0.2172, allocations: 39.97 kB / 329.7 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.018e-05/0.2173, allocations: 36 kB / 329.8 MB, free: 14.54 MB / 282.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.001212/0.2185, allocations: 0.6172 MB / 330.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000268/0.2188, allocations: 135.4 kB / 330.5 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003296/0.2191, allocations: 121.9 kB / 330.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.746e-05/0.2191, allocations: 15.98 kB / 330.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.2191, allocations: 4 kB / 330.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.2192, allocations: 7.922 kB / 330.7 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006752/0.2259, allocations: 3.325 MB / 334 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.2259, allocations: 4 kB / 334 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005824/0.2265, allocations: 123.9 kB / 334.1 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/0.2276, allocations: 426.3 kB / 334.5 MB, free: 9.691 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.28e-05/0.2276, allocations: 20 kB / 334.5 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01125/0.2389, allocations: 10.55 MB / 345.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2389, allocations: 0 / 345.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003618/0.2425, allocations: 1.973 MB / 347.1 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006194/0.2431, allocations: 191.2 kB / 347.3 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.2433, allocations: 20 kB / 347.3 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004404/0.2437, allocations: 39.95 kB / 347.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002591/0.244, allocations: 96.81 kB / 347.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.589e-05/0.244, allocations: 24 kB / 347.4 MB, free: 12.26 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009297/0.2449, allocations: 0.62 MB / 348.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2449, allocations: 0 / 348.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001584/0.2465, allocations: 382.3 kB / 348.4 MB, free: 11.27 MB / 298.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.0003109/0.2468, allocations: 151.3 kB / 348.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003071/0.2499, allocations: 1.895 MB / 350.5 MB, free: 9.145 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2499, allocations: 1.312 kB / 350.5 MB, free: 9.145 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001981/0.2519, allocations: 1.363 MB / 351.8 MB, free: 7.707 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.2533, allocations: 291.5 kB / 352.1 MB, free: 7.434 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006674/0.26, allocations: 3.369 MB / 355.5 MB, free: 4.012 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/0.2613, allocations: 1.044 MB / 356.5 MB, free: 2.922 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005206/0.2618, allocations: 148.6 kB / 356.7 MB, free: 2.773 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.262, allocations: 68.44 kB / 356.7 MB, free: 2.707 MB / 298.7 MB Notification: Performance of SimCode: time 1.303e-06/0.2621, allocations: 0 / 356.7 MB, free: 2.707 MB / 298.7 MB Notification: Performance of Templates: time 0.04311/0.3052, allocations: 20.05 MB / 376.8 MB, free: 14.96 MB / 330.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","/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.425188289023936]