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.0007132/0.0007132, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.001747, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006613/0.0006613, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000872/0.001533, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9836/0.9836, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08322/1.067, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.182e-06/1.182e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.259e-05/1.378e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.004863/0.004877, allocations: 6.05 MB / 250.8 MB, free: 8.141 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002905/0.007782, allocations: 1.779 MB / 252.5 MB, free: 6.355 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004242/0.008207, allocations: 55.69 kB / 252.6 MB, free: 6.301 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003912/0.008598, allocations: 313.4 kB / 252.9 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008765/0.009474, allocations: 460.6 kB / 253.3 MB, free: 5.539 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004875/0.009962, allocations: 343.5 kB / 253.7 MB, free: 5.203 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001537/0.0115, allocations: 2.218 MB / 255.9 MB, free: 2.977 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.01266, allocations: 1.395 MB / 257.3 MB, free: 1.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.014, allocations: 1.68 MB / 259 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.01513, allocations: 1.173 MB / 260.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003011/0.01543, allocations: 288 kB / 260.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004873/0.01591, allocations: 411.6 kB / 260.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003631/0.01628, allocations: 0.5884 MB / 261.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005189/0.0168, allocations: 0.7097 MB / 262.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.01816, allocations: 1.908 MB / 264 MB, free: 10.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.238e-06/0.01817, allocations: 0 / 264 MB, free: 10.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01817, allocations: 7.938 kB / 264 MB, free: 10.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.653e-05/0.0182, allocations: 0 / 264 MB, free: 10.73 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.002467/0.02066, allocations: 2.767 MB / 266.8 MB, free: 7.926 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.02069, allocations: 8.031 kB / 266.8 MB, free: 7.918 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005395/0.02123, allocations: 425.8 kB / 267.2 MB, free: 7.484 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008928/0.02213, allocations: 0.7812 MB / 268 MB, free: 6.676 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8e-05/0.02221, allocations: 160.5 kB / 268.2 MB, free: 6.516 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.02239, allocations: 204.3 kB / 268.4 MB, free: 6.316 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.02394, allocations: 1.479 MB / 269.8 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.02397, allocations: 7.875 kB / 269.9 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.02408, allocations: 84 kB / 269.9 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.722e-05/0.02413, allocations: 55.98 kB / 270 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007499/0.02488, allocations: 0.5374 MB / 270.5 MB, free: 4.027 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1096/0.1345, allocations: 4.442 MB / 275 MB, free: 20.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007317/0.1352, allocations: 0.7309 MB / 275.7 MB, free: 20.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004884/0.1357, allocations: 405.8 kB / 276.1 MB, free: 20.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.006e-05/0.1357, allocations: 16.69 kB / 276.1 MB, free: 20.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.1357, allocations: 43.09 kB / 276.2 MB, free: 20.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 5.801e-06/0.1358, allocations: 1.781 kB / 276.2 MB, free: 20.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.002724/0.1385, allocations: 1.621 MB / 277.8 MB, free: 19.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.1385, allocations: 69.77 kB / 277.8 MB, free: 19.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004918/0.139, allocations: 0.6087 MB / 278.5 MB, free: 19.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.139, allocations: 41.41 kB / 278.5 MB, free: 19.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.1393, allocations: 0.7549 MB / 279.3 MB, free: 19.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.1394, allocations: 341.6 kB / 279.6 MB, free: 18.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.1396, allocations: 167.1 kB / 279.7 MB, free: 18.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.044e-05/0.1396, allocations: 351.6 kB / 280.1 MB, free: 18.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.1398, allocations: 117.8 kB / 280.2 MB, free: 18.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.14, allocations: 282.5 kB / 280.5 MB, free: 18.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/0.1405, allocations: 0.5113 MB / 281 MB, free: 18.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1405, allocations: 2.406 kB / 281 MB, free: 18.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0007792/0.1412, allocations: 0.6398 MB / 281.6 MB, free: 18.08 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1413, allocations: 7.312 kB / 281.6 MB, free: 18.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.1413, allocations: 4.969 kB / 281.6 MB, free: 18.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004538/0.1417, allocations: 210.6 kB / 281.9 MB, free: 18.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.1422, allocations: 192.6 kB / 282 MB, free: 18.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/0.145, allocations: 6.493 MB / 288.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.1453, allocations: 28.03 kB / 288.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.332e-05/0.1453, allocations: 31.91 kB / 288.6 MB, free: 12.68 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.0002701/0.1456, allocations: 176.5 kB / 288.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.1457, allocations: 90.86 kB / 288.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.1458, allocations: 127.7 kB / 289 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.1458, allocations: 12.03 kB / 289 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.1458, allocations: 8.594 kB / 289 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1458, allocations: 4.688 kB / 289 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.1478, allocations: 1.563 MB / 290.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.1478, allocations: 9.375 kB / 290.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.1481, allocations: 145.4 kB / 290.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.1483, allocations: 122.7 kB / 290.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003836/0.1487, allocations: 219.2 kB / 291.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/0.1487, allocations: 22.45 kB / 291.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002486/0.1512, allocations: 6.482 MB / 297.6 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.1512, allocations: 7.875 kB / 297.6 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008377/0.1521, allocations: 0.8898 MB / 298.5 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.197e-05/0.1521, allocations: 23.83 kB / 298.5 MB, free: 6.258 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.1523, allocations: 26.19 kB / 298.5 MB, free: 6.242 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.1524, allocations: 76.08 kB / 298.6 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.1525, allocations: 21.56 kB / 298.6 MB, free: 6.219 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002432/0.1527, allocations: 293.5 kB / 298.9 MB, free: 6.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1527, allocations: 0 / 298.9 MB, free: 6.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009329/0.1536, allocations: 381.1 kB / 299.3 MB, free: 6.145 MB / 266.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.0001995/0.1538, allocations: 138.5 kB / 299.4 MB, free: 6.051 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000835/0.1547, allocations: 1.065 MB / 300.5 MB, free: 5.453 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.342e-05/0.1547, allocations: 17.59 kB / 300.5 MB, free: 5.453 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005448/0.1552, allocations: 0.9126 MB / 301.4 MB, free: 4.859 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.1563, allocations: 3.103 MB / 304.5 MB, free: 1.484 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007071/0.1633, allocations: 3.45 MB / 307.9 MB, free: 14.83 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.1638, allocations: 472.8 kB / 308.4 MB, free: 14.37 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002823/0.164, allocations: 120.8 kB / 308.5 MB, free: 14.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/0.1645, allocations: 297.1 kB / 308.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1645, allocations: 0 / 308.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of Templates: time 0.02707/0.1916, allocations: 22.45 MB / 331.3 MB, free: 7.922 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1275697387754917]