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.001853/0.001853, allocations: 73.88 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.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.002138/0.002138, allocations: 149.5 kB / 24.49 MB, free: 3.723 MB / 14.72 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.44/1.44, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 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 0.001672/0.001672, allocations: 47.88 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1034, allocations: 52.17 MB / 371.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008234/0.1116, allocations: 5.53 MB / 377.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003392/0.115, allocations: 1.601 MB / 378.7 MB, free: 180 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007943/0.1158, allocations: 59.62 kB / 378.8 MB, free: 120 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007776/0.1166, allocations: 309.5 kB / 379.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.1181, allocations: 449.2 kB / 379.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000791/0.1189, allocations: 343.5 kB / 379.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002542/0.1214, allocations: 2.141 MB / 382 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001906/0.1233, allocations: 1.352 MB / 383.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/0.1246, allocations: 1.055 MB / 384.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.1263, allocations: 1.179 MB / 385.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003907/0.1267, allocations: 288 kB / 385.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007429/0.1274, allocations: 415.6 kB / 386.3 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006905/0.1281, allocations: 0.7013 MB / 387 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.1292, allocations: 1.004 MB / 388 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00367/0.1329, allocations: 3.64 MB / 391.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.1329, allocations: 4 kB / 391.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.1329, allocations: 4 kB / 391.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.91e-05/0.133, allocations: 0 / 391.6 MB, free: 3.168 MB / 350.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.004565/0.1375, allocations: 2.449 MB / 394.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1376, allocations: 12.03 kB / 394.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00042/0.138, allocations: 235.5 kB / 394.3 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.1402, allocations: 1.231 MB / 395.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.1404, allocations: 156.5 kB / 395.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003019/0.1407, allocations: 216.1 kB / 395.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004353/0.145, allocations: 2.635 MB / 398.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.375e-05/0.1451, allocations: 7.938 kB / 398.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001919/0.1452, allocations: 84 kB / 398.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.387e-05/0.1453, allocations: 55.98 kB / 398.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003657/0.149, allocations: 2.077 MB / 400.8 MB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01063/0.1596, allocations: 6.323 MB / 407.1 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/0.1616, allocations: 1.312 MB / 408.4 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/0.1632, allocations: 0.8856 MB / 409.3 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.811e-05/0.1633, allocations: 9 kB / 409.3 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.1633, allocations: 47.5 kB / 409.3 MB, free: 1.086 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.377e-06/0.1633, allocations: 4 kB / 409.3 MB, free: 1.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.008038/0.1714, allocations: 3.883 MB / 413.2 MB, free: 13.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.1714, allocations: 68.41 kB / 413.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.1726, allocations: 0.8365 MB / 414.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.1726, allocations: 41.7 kB / 414.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006359/0.1733, allocations: 0.8513 MB / 415 MB, free: 11.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002804/0.1735, allocations: 341.1 kB / 415.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/0.1738, allocations: 182.5 kB / 415.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.174, allocations: 345.9 kB / 415.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008278/0.1748, allocations: 0.4899 MB / 416.4 MB, free: 9.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009764/0.1758, allocations: 0.6772 MB / 417 MB, free: 9.223 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.1776, allocations: 1.193 MB / 418.2 MB, free: 7.961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1776, allocations: 4 kB / 418.2 MB, free: 7.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002721/0.1803, allocations: 1.613 MB / 419.8 MB, free: 6.324 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1803, allocations: 11.98 kB / 419.9 MB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.1804, allocations: 4 kB / 419.9 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.1814, allocations: 463.1 kB / 420.3 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006816/0.1821, allocations: 179.6 kB / 420.5 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009328/0.1914, allocations: 8.729 MB / 429.2 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005145/0.1919, allocations: 47.95 kB / 429.3 MB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.939e-05/0.192, allocations: 40.12 kB / 429.3 MB, free: 12.45 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.0009575/0.193, allocations: 0.6341 MB / 429.9 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.1932, allocations: 111.3 kB / 430 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.1934, allocations: 129.9 kB / 430.2 MB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-05/0.1935, allocations: 12 kB / 430.2 MB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.1935, allocations: 0 / 430.2 MB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.1935, allocations: 7.969 kB / 430.2 MB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005278/0.1988, allocations: 3.057 MB / 433.2 MB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.1988, allocations: 0 / 433.2 MB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005698/0.1993, allocations: 119.9 kB / 433.4 MB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009751/0.2003, allocations: 455 kB / 433.8 MB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.662e-05/0.2004, allocations: 24.17 kB / 433.8 MB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009083/0.2095, allocations: 8.64 MB / 442.5 MB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2095, allocations: 0 / 442.5 MB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003466/0.2129, allocations: 2.301 MB / 444.8 MB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/0.2134, allocations: 207.4 kB / 445 MB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.2135, allocations: 23.97 kB / 445 MB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/0.2139, allocations: 47.89 kB / 445 MB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/0.2141, allocations: 88.83 kB / 445.1 MB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.593e-05/0.2142, allocations: 20 kB / 445.1 MB, free: 12.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007827/0.215, allocations: 0.5849 MB / 445.7 MB, free: 11.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.215, allocations: 4 kB / 445.7 MB, free: 11.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001541/0.2165, allocations: 383.9 kB / 446.1 MB, free: 11.1 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.0002594/0.2168, allocations: 147 kB / 446.3 MB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002757/0.2195, allocations: 1.781 MB / 448 MB, free: 9.121 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2195, allocations: 0 / 448 MB, free: 9.121 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.2213, allocations: 1.211 MB / 449.2 MB, free: 7.855 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.2224, allocations: 275.2 kB / 449.5 MB, free: 7.582 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005732/0.2282, allocations: 3.671 MB / 453.2 MB, free: 3.867 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/0.2295, allocations: 1.15 MB / 454.3 MB, free: 2.676 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004532/0.2299, allocations: 180.6 kB / 454.5 MB, free: 2.496 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.2301, allocations: 68.5 kB / 454.6 MB, free: 2.43 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2301, allocations: 0 / 454.6 MB, free: 2.43 MB / 414.1 MB Notification: Performance of Templates: time 0.1974/0.4275, allocations: 20 MB / 474.6 MB, free: 90.69 MB / 430.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/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.423141035949811]