Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.001757/0.001757, allocations: 103.5 kB / 21.74 MB, free: 2.688 MB / 18.57 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.002644/0.002644, allocations: 160.7 kB / 25.03 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.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_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.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_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 250.4 MB, free: 7.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.776e-05, allocations: 6.312 kB / 250.4 MB, free: 7.707 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.009078/0.009106, allocations: 5.963 MB / 256.3 MB, free: 1.707 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004165/0.01327, allocations: 1.683 MB / 258 MB, free: 16 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000668/0.01394, allocations: 47.73 kB / 258.1 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006801/0.01462, allocations: 309.4 kB / 258.4 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.01608, allocations: 456.7 kB / 258.8 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007796/0.01686, allocations: 351.4 kB / 259.1 MB, free: 14.87 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002891/0.01976, allocations: 2.226 MB / 261.4 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002129/0.02188, allocations: 1.324 MB / 262.7 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002984/0.02487, allocations: 1.579 MB / 264.3 MB, free: 9.668 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002422/0.02729, allocations: 1.154 MB / 265.4 MB, free: 8.512 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005111/0.0278, allocations: 292 kB / 265.7 MB, free: 8.227 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009434/0.02874, allocations: 407.7 kB / 266.1 MB, free: 7.828 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008886/0.02963, allocations: 0.7323 MB / 266.8 MB, free: 7.094 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001525/0.03116, allocations: 0.8693 MB / 267.7 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005112/0.03627, allocations: 3.693 MB / 271.4 MB, free: 2.52 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.03627, allocations: 0 / 271.4 MB, free: 2.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.03627, allocations: 4 kB / 271.4 MB, free: 2.516 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.451e-05/0.03637, allocations: 3.938 kB / 271.4 MB, free: 2.512 MB / 250.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.006321/0.04269, allocations: 2.79 MB / 274.2 MB, free: 15.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.04274, allocations: 11.98 kB / 274.2 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007929/0.04353, allocations: 407.4 kB / 274.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002325/0.04586, allocations: 1.046 MB / 275.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.04601, allocations: 148.5 kB / 275.8 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003466/0.04635, allocations: 212.3 kB / 276 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005431/0.05178, allocations: 2.678 MB / 278.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.502e-05/0.05184, allocations: 11.88 kB / 278.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002017/0.05204, allocations: 84 kB / 278.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.539e-05/0.05213, allocations: 59.92 kB / 278.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00375/0.05588, allocations: 1.87 MB / 280.7 MB, free: 9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01491/0.0708, allocations: 7.853 MB / 288.6 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.0729, allocations: 1.178 MB / 289.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.07454, allocations: 0.7986 MB / 290.5 MB, free: 14.99 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.872e-05/0.07461, allocations: 17 kB / 290.6 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.84e-05/0.07465, allocations: 46.39 kB / 290.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=96): time 3.226e-06/0.07466, allocations: 0 / 290.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=97): time 0.0087/0.08336, allocations: 3.52 MB / 294.1 MB, free: 11.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.08342, allocations: 64.41 kB / 294.2 MB, free: 11.26 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.08502, allocations: 1.011 MB / 295.2 MB, free: 10.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.451e-05/0.0851, allocations: 49.62 kB / 295.2 MB, free: 10.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008939/0.086, allocations: 0.9556 MB / 296.2 MB, free: 9.211 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003912/0.08639, allocations: 365.1 kB / 296.6 MB, free: 8.852 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003645/0.08675, allocations: 216.2 kB / 296.8 MB, free: 8.633 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003511/0.0871, allocations: 0.5589 MB / 297.3 MB, free: 8.066 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007605/0.08786, allocations: 413.6 kB / 297.7 MB, free: 7.664 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.08893, allocations: 0.6795 MB / 298.4 MB, free: 6.891 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001986/0.09092, allocations: 1.149 MB / 299.6 MB, free: 5.652 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.09092, allocations: 0 / 299.6 MB, free: 5.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002928/0.09385, allocations: 1.479 MB / 301 MB, free: 4.145 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.09388, allocations: 8 kB / 301 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.09389, allocations: 4 kB / 301 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.09516, allocations: 462.2 kB / 301.5 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007192/0.09588, allocations: 167.8 kB / 301.7 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/0.1082, allocations: 10.9 MB / 312.6 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007835/0.1089, allocations: 43.97 kB / 312.6 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.265e-05/0.109, allocations: 32 kB / 312.6 MB, free: 8.035 MB / 298.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.001222/0.1102, allocations: 0.6133 MB / 313.3 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/0.1106, allocations: 135.3 kB / 313.4 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003412/0.1109, allocations: 125.9 kB / 313.5 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.262e-05/0.1109, allocations: 8 kB / 313.5 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-05/0.111, allocations: 11.95 kB / 313.5 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.111, allocations: 7.984 kB / 313.5 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007405/0.1184, allocations: 3.323 MB / 316.9 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.1184, allocations: 0 / 316.9 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000586/0.119, allocations: 123.8 kB / 317 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001109/0.1201, allocations: 422.8 kB / 317.4 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.767e-05/0.1201, allocations: 20 kB / 317.4 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0122/0.1323, allocations: 10.55 MB / 328 MB, free: 8.125 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.1323, allocations: 12.06 kB / 328 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003939/0.1363, allocations: 1.97 MB / 329.9 MB, free: 6.094 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006817/0.137, allocations: 191.2 kB / 330.1 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.1371, allocations: 27.97 kB / 330.2 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/0.1375, allocations: 35.97 kB / 330.2 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002667/0.1378, allocations: 100.8 kB / 330.3 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.217e-05/0.1379, allocations: 23.98 kB / 330.3 MB, free: 5.723 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000945/0.1388, allocations: 0.62 MB / 330.9 MB, free: 5.105 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1388, allocations: 0 / 330.9 MB, free: 5.105 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001788/0.1406, allocations: 376 kB / 331.3 MB, free: 4.738 MB / 314.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.0003753/0.141, allocations: 162.9 kB / 331.5 MB, free: 4.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003349/0.1443, allocations: 1.882 MB / 333.3 MB, free: 2.613 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.1443, allocations: 0 / 333.3 MB, free: 2.613 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002139/0.1465, allocations: 1.374 MB / 334.7 MB, free: 1.168 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.1479, allocations: 287.2 kB / 335 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007186/0.1551, allocations: 3.377 MB / 338.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/0.1565, allocations: 1.044 MB / 339.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005529/0.157, allocations: 144.6 kB / 339.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.1572, allocations: 68.48 kB / 339.6 MB, free: 12.14 MB / 330.7 MB Notification: Performance of SimCode: time 2.756e-06/0.1573, allocations: 0 / 339.6 MB, free: 12.14 MB / 330.7 MB Notification: Performance of Templates: time 0.1571/0.3144, allocations: 20.02 MB / 359.7 MB, free: 93.61 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.720906042959541]