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.001289/0.001289, allocations: 84 kB / 21.43 MB, free: 3.129 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.006796/0.006796, allocations: 145.8 kB / 24.68 MB, free: 9.426 MB / 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.8547/0.8547, allocations: 173.4 MB / 201.2 MB, free: 9.438 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.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.784e-06/1.784e-06, allocations: 0 / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.626e-05, allocations: 6.219 kB / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007097/0.007133, allocations: 5.525 MB / 325.2 MB, free: 300 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004099/0.01123, allocations: 1.616 MB / 326.8 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.01237, allocations: 55.69 kB / 326.9 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007231/0.01309, allocations: 309.5 kB / 327.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.01488, allocations: 456.6 kB / 327.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007783/0.01565, allocations: 351.5 kB / 328 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002249/0.0179, allocations: 2.21 MB / 330.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/0.01985, allocations: 1.36 MB / 331.5 MB, free: 9.875 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002079/0.02193, allocations: 1.564 MB / 333.1 MB, free: 8.309 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.0237, allocations: 1.037 MB / 334.1 MB, free: 7.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003773/0.02407, allocations: 292 kB / 334.4 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005201/0.02459, allocations: 419.7 kB / 334.8 MB, free: 6.574 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003968/0.02499, allocations: 0.7206 MB / 335.6 MB, free: 5.852 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007684/0.02576, allocations: 0.8498 MB / 336.4 MB, free: 5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002474/0.02823, allocations: 3.677 MB / 340.1 MB, free: 1.312 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.02824, allocations: 0 / 340.1 MB, free: 1.312 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.02824, allocations: 0 / 340.1 MB, free: 1.312 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.206e-05/0.0283, allocations: 0 / 340.1 MB, free: 1.312 MB / 298.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.002873/0.03117, allocations: 2.44 MB / 342.5 MB, free: 14.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.03121, allocations: 8.031 kB / 342.5 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002823/0.03149, allocations: 247.4 kB / 342.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.03277, allocations: 1.223 MB / 344 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.236e-05/0.03285, allocations: 156.5 kB / 344.1 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.03302, allocations: 200.4 kB / 344.3 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/0.03562, allocations: 2.644 MB / 347 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.03565, allocations: 3.938 kB / 347 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.03577, allocations: 84 kB / 347.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.395e-05/0.03581, allocations: 60 kB / 347.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.0379, allocations: 2.081 MB / 349.2 MB, free: 7.988 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005783/0.04368, allocations: 6.323 MB / 355.5 MB, free: 1.496 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.04489, allocations: 1.293 MB / 356.8 MB, free: 220 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008915/0.04579, allocations: 0.9009 MB / 357.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.04582, allocations: 13 kB / 357.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.04585, allocations: 47.56 kB / 357.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of pre-optimization done (n=96): time 2.325e-06/0.04585, allocations: 0 / 357.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=97): time 0.004318/0.05017, allocations: 3.898 MB / 361.7 MB, free: 11.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.05021, allocations: 60.41 kB / 361.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006401/0.05085, allocations: 0.8288 MB / 362.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.05089, allocations: 41.7 kB / 362.6 MB, free: 10.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/0.05122, allocations: 0.8514 MB / 363.5 MB, free: 9.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.05138, allocations: 337.1 kB / 363.8 MB, free: 9.148 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.05154, allocations: 182.6 kB / 364 MB, free: 8.961 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.749e-05/0.05163, allocations: 349.9 kB / 364.3 MB, free: 8.613 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/0.0521, allocations: 0.4898 MB / 364.8 MB, free: 8.125 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000545/0.05265, allocations: 0.6733 MB / 365.5 MB, free: 7.383 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.05368, allocations: 1.201 MB / 366.7 MB, free: 6.113 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.05368, allocations: 0 / 366.7 MB, free: 6.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001503/0.05519, allocations: 1.609 MB / 368.3 MB, free: 4.488 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.0552, allocations: 11.98 kB / 368.3 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.05522, allocations: 8 kB / 368.3 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000596/0.05581, allocations: 466.9 kB / 368.8 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.05616, allocations: 171.8 kB / 368.9 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005158/0.06132, allocations: 8.721 MB / 377.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.06158, allocations: 47.95 kB / 377.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/0.06163, allocations: 32.09 kB / 377.7 MB, free: 10.62 MB / 346.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.0006155/0.06224, allocations: 0.6418 MB / 378.4 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.06235, allocations: 107.4 kB / 378.5 MB, free: 9.867 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.06246, allocations: 137.8 kB / 378.6 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.06248, allocations: 8 kB / 378.6 MB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.06249, allocations: 8.125 kB / 378.6 MB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.0625, allocations: 7.969 kB / 378.6 MB, free: 9.703 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002968/0.06546, allocations: 3.046 MB / 381.7 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.06547, allocations: 4 kB / 381.7 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.06574, allocations: 127.9 kB / 381.8 MB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005237/0.06627, allocations: 451 kB / 382.3 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.0663, allocations: 23.98 kB / 382.3 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005009/0.07131, allocations: 8.632 MB / 390.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.07132, allocations: 8 kB / 390.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/0.07337, allocations: 2.285 MB / 393.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002552/0.07362, allocations: 207.3 kB / 393.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.913e-05/0.07368, allocations: 23.98 kB / 393.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.07389, allocations: 43.95 kB / 393.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.07403, allocations: 96.7 kB / 393.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.07407, allocations: 24.12 kB / 393.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004714/0.07454, allocations: 0.581 MB / 394.2 MB, free: 9.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.07454, allocations: 0 / 394.2 MB, free: 9.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009171/0.07545, allocations: 384 kB / 394.5 MB, free: 9.285 MB / 362.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.0002275/0.07568, allocations: 150.2 kB / 394.7 MB, free: 9.133 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001619/0.0773, allocations: 1.779 MB / 396.5 MB, free: 7.301 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.0773, allocations: 0 / 396.5 MB, free: 7.301 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000927/0.07823, allocations: 1.208 MB / 397.7 MB, free: 6.043 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006833/0.07891, allocations: 278.9 kB / 397.9 MB, free: 5.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/0.08251, allocations: 3.539 MB / 401.5 MB, free: 2.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000791/0.08331, allocations: 1.114 MB / 402.6 MB, free: 1.023 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.08345, allocations: 68.5 kB / 402.7 MB, free: 0.957 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.08345, allocations: 0 / 402.7 MB, free: 0.957 MB / 362.7 MB Notification: Performance of Templates: time 0.1618/0.2452, allocations: 59.12 MB / 461.8 MB, free: 120 MB / 410.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=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: 8.13355812150985]