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.0009116/0.0009116, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001572/0.001572, allocations: 173.3 kB / 24.91 MB, free: 9.211 MB / 18.57 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 0.9139/0.9139, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/2.945e-05, allocations: 6.312 kB / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007441/0.007471, allocations: 5.968 MB / 279.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003513/0.01098, allocations: 1.759 MB / 281.2 MB, free: 9.527 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005166/0.0115, allocations: 55.62 kB / 281.2 MB, free: 9.473 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000578/0.01208, allocations: 309.5 kB / 281.5 MB, free: 9.168 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009401/0.01302, allocations: 464.5 kB / 282 MB, free: 8.711 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.01351, allocations: 355.5 kB / 282.3 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001761/0.01527, allocations: 2.214 MB / 284.5 MB, free: 6.141 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.01649, allocations: 1.388 MB / 285.9 MB, free: 4.672 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.01797, allocations: 1.603 MB / 287.5 MB, free: 3.066 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.0192, allocations: 1.161 MB / 288.7 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003513/0.01955, allocations: 292 kB / 289 MB, free: 1.617 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004638/0.02001, allocations: 415.6 kB / 289.4 MB, free: 1.211 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006448/0.02066, allocations: 0.7362 MB / 290.1 MB, free: 484 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.09597/0.1166, allocations: 0.8591 MB / 291 MB, free: 18.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.1186, allocations: 2.039 MB / 293 MB, free: 18.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1186, allocations: 3.172 kB / 293 MB, free: 18.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1186, allocations: 1.062 kB / 293 MB, free: 18.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.757e-05/0.1187, allocations: 0 / 293 MB, free: 18.15 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.002668/0.1213, allocations: 2.319 MB / 295.3 MB, free: 17.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.1214, allocations: 9.703 kB / 295.3 MB, free: 17.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000585/0.1219, allocations: 349.8 kB / 295.7 MB, free: 17.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.123, allocations: 0.7818 MB / 296.5 MB, free: 16.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.09e-05/0.123, allocations: 153.2 kB / 296.6 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/0.1233, allocations: 204.7 kB / 296.8 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.125, allocations: 1.488 MB / 298.3 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/0.125, allocations: 0.7969 kB / 298.3 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.1252, allocations: 89.84 kB / 298.4 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.175e-05/0.1252, allocations: 53.5 kB / 298.4 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000853/0.1261, allocations: 0.5425 MB / 299 MB, free: 16.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004846/0.1309, allocations: 4.404 MB / 303.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006648/0.1316, allocations: 0.728 MB / 304.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004515/0.132, allocations: 414.8 kB / 304.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.1321, allocations: 16.41 kB / 304.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1321, allocations: 53.34 kB / 304.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 3.066e-06/0.1321, allocations: 0 / 304.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.002535/0.1346, allocations: 1.605 MB / 306.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.1346, allocations: 59.62 kB / 306.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/0.135, allocations: 0.6129 MB / 306.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.1351, allocations: 41.42 kB / 306.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.1353, allocations: 0.7493 MB / 307.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.1354, allocations: 339.5 kB / 308 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.1355, allocations: 165.5 kB / 308.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.794e-05/0.1356, allocations: 346.5 kB / 308.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.1357, allocations: 116.9 kB / 308.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.1359, allocations: 289.6 kB / 308.9 MB, free: 11.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.1363, allocations: 0.4944 MB / 309.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1363, allocations: 0 / 309.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0007056/0.137, allocations: 0.6412 MB / 310 MB, free: 11.58 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.137, allocations: 6.5 kB / 310 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.137, allocations: 3.312 kB / 310 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004285/0.1374, allocations: 211.8 kB / 310.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.1378, allocations: 160.9 kB / 310.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.1404, allocations: 6.485 MB / 316.9 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.1407, allocations: 31.98 kB / 316.9 MB, free: 5.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.215e-05/0.1407, allocations: 28.55 kB / 316.9 MB, free: 4.98 MB / 266.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.000467/0.1412, allocations: 171.5 kB / 317.1 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.1413, allocations: 95.97 kB / 317.2 MB, free: 4.723 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.11e-05/0.1414, allocations: 125.8 kB / 317.3 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.1415, allocations: 16 kB / 317.3 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.1415, allocations: 0 / 317.3 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1415, allocations: 3.984 kB / 317.3 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.1433, allocations: 1.576 MB / 318.9 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1433, allocations: 0 / 318.9 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.1435, allocations: 115.6 kB / 319 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003363/0.1439, allocations: 223.1 kB / 319.3 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.1439, allocations: 20 kB / 319.3 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002962/0.1469, allocations: 6.473 MB / 325.7 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1469, allocations: 0 / 325.7 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009943/0.1479, allocations: 0.8736 MB / 326.6 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/0.1481, allocations: 131.3 kB / 326.7 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/0.1481, allocations: 23.98 kB / 326.8 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.1483, allocations: 20 kB / 326.8 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.1485, allocations: 84.19 kB / 326.9 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.1485, allocations: 24 kB / 326.9 MB, free: 10.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002465/0.1487, allocations: 292.6 kB / 327.2 MB, free: 10.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1487, allocations: 0 / 327.2 MB, free: 10.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001028/0.1498, allocations: 379.9 kB / 327.6 MB, free: 10.27 MB / 282.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.0002009/0.15, allocations: 141.4 kB / 327.7 MB, free: 10.14 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.1511, allocations: 1.051 MB / 328.7 MB, free: 9.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/0.1511, allocations: 8 kB / 328.7 MB, free: 9.062 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006484/0.1517, allocations: 0.8745 MB / 329.6 MB, free: 8.164 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006607/0.1524, allocations: 302 kB / 329.9 MB, free: 7.875 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003601/0.156, allocations: 3.047 MB / 333 MB, free: 4.809 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.1564, allocations: 449.3 kB / 333.4 MB, free: 4.344 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002524/0.1566, allocations: 112.7 kB / 333.5 MB, free: 4.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004243/0.157, allocations: 293.1 kB / 333.8 MB, free: 3.945 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.157, allocations: 0 / 333.8 MB, free: 3.945 MB / 282.7 MB Notification: Performance of Templates: time 0.02537/0.1824, allocations: 21.22 MB / 355 MB, free: 15.15 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.15748856915161]