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.001762/0.001762, allocations: 69.64 kB / 21.24 MB, free: 0.5547 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.002062/0.002062, allocations: 160.9 kB / 24.5 MB, free: 3.715 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.445/1.445, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.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.001523/0.001523, allocations: 50.17 kB / 325.6 MB, free: 468 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09507/0.09659, allocations: 53.35 MB / 378.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007733/0.1043, allocations: 5.548 MB / 384.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003321/0.1076, allocations: 1.659 MB / 386.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004009/0.108, allocations: 59.69 kB / 386.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005951/0.1086, allocations: 309.5 kB / 386.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.1098, allocations: 437.2 kB / 386.9 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006497/0.1104, allocations: 355.5 kB / 387.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002324/0.1127, allocations: 2.141 MB / 389.4 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001866/0.1146, allocations: 1.352 MB / 390.7 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.1159, allocations: 1.055 MB / 391.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00173/0.1177, allocations: 1.187 MB / 393 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004087/0.1181, allocations: 292 kB / 393.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007485/0.1188, allocations: 407.7 kB / 393.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007068/0.1195, allocations: 0.6974 MB / 394.4 MB, free: 216 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.1207, allocations: 1.004 MB / 395.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00375/0.1244, allocations: 3.651 MB / 399 MB, free: 11.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.1245, allocations: 4 kB / 399 MB, free: 11.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1245, allocations: 0 / 399 MB, free: 11.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.514e-05/0.1245, allocations: 0 / 399 MB, free: 11.53 MB / 366.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.004677/0.1292, allocations: 2.46 MB / 401.5 MB, free: 9.023 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.1292, allocations: 12.03 kB / 401.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006934/0.1299, allocations: 267.4 kB / 401.8 MB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002338/0.1323, allocations: 1.247 MB / 403 MB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.1324, allocations: 156.5 kB / 403.2 MB, free: 7.312 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003084/0.1327, allocations: 212.1 kB / 403.4 MB, free: 7.105 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004317/0.137, allocations: 2.635 MB / 406 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.343e-05/0.1371, allocations: 4 kB / 406 MB, free: 4.371 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/0.1373, allocations: 87.98 kB / 406.1 MB, free: 4.285 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-05/0.1374, allocations: 56 kB / 406.1 MB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003705/0.1411, allocations: 2.081 MB / 408.2 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01077/0.1518, allocations: 6.331 MB / 414.6 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002112/0.1539, allocations: 1.298 MB / 415.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.1555, allocations: 0.8779 MB / 416.7 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-05/0.1555, allocations: 13 kB / 416.7 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/0.1556, allocations: 47.48 kB / 416.8 MB, free: 9.398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.246e-06/0.1556, allocations: 4 kB / 416.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.007902/0.1635, allocations: 3.894 MB / 420.7 MB, free: 5.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.1635, allocations: 64.34 kB / 420.8 MB, free: 5.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.1647, allocations: 0.8483 MB / 421.6 MB, free: 4.527 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.719e-05/0.1648, allocations: 49.47 kB / 421.6 MB, free: 4.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006299/0.1654, allocations: 0.8475 MB / 422.5 MB, free: 3.617 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003014/0.1657, allocations: 349.1 kB / 422.8 MB, free: 3.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002878/0.166, allocations: 178.6 kB / 423 MB, free: 3.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1661, allocations: 345.9 kB / 423.3 MB, free: 2.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008034/0.1669, allocations: 493.7 kB / 423.8 MB, free: 2.266 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009643/0.1679, allocations: 0.6734 MB / 424.5 MB, free: 1.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.1697, allocations: 1.205 MB / 425.7 MB, free: 256 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.1697, allocations: 8 kB / 425.7 MB, free: 248 kB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002718/0.1724, allocations: 1.609 MB / 427.3 MB, free: 14.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.1725, allocations: 8 kB / 427.3 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.1725, allocations: 4 kB / 427.3 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.1736, allocations: 471.1 kB / 427.8 MB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007041/0.1743, allocations: 179.6 kB / 428 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009705/0.184, allocations: 8.718 MB / 436.7 MB, free: 4.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006083/0.1846, allocations: 52.08 kB / 436.7 MB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-05/0.1847, allocations: 36 kB / 436.8 MB, free: 4.746 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.001028/0.1857, allocations: 0.6372 MB / 437.4 MB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.1859, allocations: 107.3 kB / 437.5 MB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/0.1862, allocations: 141.8 kB / 437.7 MB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.757e-05/0.1862, allocations: 8 kB / 437.7 MB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.1862, allocations: 4 kB / 437.7 MB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.1862, allocations: 3.984 kB / 437.7 MB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005382/0.1916, allocations: 3.05 MB / 440.7 MB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.1916, allocations: 3.938 kB / 440.7 MB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005807/0.1922, allocations: 123.8 kB / 440.8 MB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.1932, allocations: 459 kB / 441.3 MB, free: 136 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-05/0.1932, allocations: 24.06 kB / 441.3 MB, free: 112 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009365/0.2026, allocations: 8.641 MB / 450 MB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2026, allocations: 0 / 450 MB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003776/0.2064, allocations: 2.301 MB / 452.3 MB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004939/0.2069, allocations: 207.3 kB / 452.5 MB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.207, allocations: 16 kB / 452.5 MB, free: 4.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004468/0.2074, allocations: 47.89 kB / 452.5 MB, free: 4.469 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/0.2076, allocations: 88.83 kB / 452.6 MB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-05/0.2077, allocations: 24 kB / 452.6 MB, free: 4.355 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000819/0.2085, allocations: 0.5927 MB / 453.2 MB, free: 3.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2085, allocations: 0 / 453.2 MB, free: 3.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001428/0.21, allocations: 380 kB / 453.6 MB, free: 3.398 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.0002468/0.2102, allocations: 146.1 kB / 453.7 MB, free: 3.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00275/0.2129, allocations: 1.784 MB / 455.5 MB, free: 1.414 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.213, allocations: 0 / 455.5 MB, free: 1.414 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.2148, allocations: 1.207 MB / 456.7 MB, free: 160 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.216, allocations: 290 kB / 457 MB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006318/0.2223, allocations: 3.668 MB / 460.7 MB, free: 12.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.2237, allocations: 1.15 MB / 461.8 MB, free: 10.97 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004768/0.2242, allocations: 180.7 kB / 462 MB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.2244, allocations: 68.48 kB / 462.1 MB, free: 10.72 MB / 430.1 MB Notification: Performance of SimCode: time 6.62e-07/0.2244, allocations: 4 kB / 462.1 MB, free: 10.72 MB / 430.1 MB Notification: Performance of Templates: time 0.2063/0.4306, allocations: 19.97 MB / 482.1 MB, free: 79.31 MB / 430.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/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.333695878973231]