Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002471/0.002471, allocations: 99.53 kB / 20.97 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002891/0.002891, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.588/1.588, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.691e-05, allocations: 5.266 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.009/0.009027, allocations: 6.044 MB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004335/0.01336, allocations: 1.702 MB / 279.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007553/0.01412, allocations: 51.69 kB / 280 MB, free: 9.977 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006988/0.01482, allocations: 313.4 kB / 280.3 MB, free: 9.668 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00148/0.0163, allocations: 460.7 kB / 280.7 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008106/0.01711, allocations: 359.4 kB / 281.1 MB, free: 8.863 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00308/0.02019, allocations: 2.23 MB / 283.3 MB, free: 6.625 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002148/0.02233, allocations: 1.368 MB / 284.7 MB, free: 5.195 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002608/0.02494, allocations: 1.595 MB / 286.3 MB, free: 3.598 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001999/0.02694, allocations: 1.173 MB / 287.5 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000547/0.02749, allocations: 292 kB / 287.7 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008773/0.02837, allocations: 403.7 kB / 288.1 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008017/0.02917, allocations: 0.748 MB / 288.9 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.03038, allocations: 0.8732 MB / 289.8 MB, free: 120 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1418/0.1722, allocations: 3.713 MB / 293.5 MB, free: 18.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.1722, allocations: 0 / 293.5 MB, free: 18.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1722, allocations: 0 / 293.5 MB, free: 18.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001314/0.1724, allocations: 1.062 kB / 293.5 MB, free: 18.44 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: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.006257/0.1786, allocations: 2.799 MB / 296.3 MB, free: 17.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1787, allocations: 14.42 kB / 296.3 MB, free: 17.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.1799, allocations: 430.6 kB / 296.7 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00254/0.1824, allocations: 1.201 MB / 297.9 MB, free: 16.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.1826, allocations: 152.2 kB / 298.1 MB, free: 16.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000316/0.1829, allocations: 205.7 kB / 298.3 MB, free: 16.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004809/0.1877, allocations: 2.698 MB / 301 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.57e-05/0.1877, allocations: 0 / 301 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001828/0.1879, allocations: 86.41 kB / 301 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/0.188, allocations: 75.38 kB / 301.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003133/0.1911, allocations: 1.874 MB / 303 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/0.2026, allocations: 7.879 MB / 310.9 MB, free: 9.461 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.2042, allocations: 1.189 MB / 312.1 MB, free: 8.797 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/0.2055, allocations: 0.7858 MB / 312.8 MB, free: 8.438 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.098e-05/0.2055, allocations: 19.12 kB / 312.9 MB, free: 8.434 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.2056, allocations: 54.03 kB / 312.9 MB, free: 8.375 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 4.559e-06/0.2056, allocations: 2.672 kB / 312.9 MB, free: 8.375 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.006555/0.2121, allocations: 3.514 MB / 316.4 MB, free: 4.828 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.2122, allocations: 68.39 kB / 316.5 MB, free: 4.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.2132, allocations: 1.019 MB / 317.5 MB, free: 3.711 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.027e-05/0.2133, allocations: 41.7 kB / 317.6 MB, free: 3.664 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005562/0.2139, allocations: 0.9665 MB / 318.5 MB, free: 2.688 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.2141, allocations: 379 kB / 318.9 MB, free: 2.324 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/0.2144, allocations: 212.3 kB / 319.1 MB, free: 2.109 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.2145, allocations: 0.5511 MB / 319.7 MB, free: 1.551 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005234/0.215, allocations: 405.7 kB / 320.1 MB, free: 1.152 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006436/0.2157, allocations: 0.683 MB / 320.7 MB, free: 388 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.2173, allocations: 1.149 MB / 321.9 MB, free: 15.16 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.2174, allocations: 0 / 321.9 MB, free: 15.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003004/0.2204, allocations: 1.487 MB / 323.4 MB, free: 13.7 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.2204, allocations: 12 kB / 323.4 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.2204, allocations: 4 kB / 323.4 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.2217, allocations: 451 kB / 323.8 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007408/0.2224, allocations: 166.2 kB / 324 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01271/0.2351, allocations: 10.89 MB / 334.9 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.2362, allocations: 48.14 kB / 334.9 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002152/0.2364, allocations: 36 kB / 335 MB, free: 1.699 MB / 282.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.001516/0.2379, allocations: 0.6184 MB / 335.6 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004913/0.2384, allocations: 135.3 kB / 335.7 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004025/0.2388, allocations: 129.8 kB / 335.8 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.672e-05/0.2388, allocations: 12 kB / 335.9 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.2388, allocations: 0 / 335.9 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.2389, allocations: 3.984 kB / 335.9 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00803/0.2469, allocations: 3.327 MB / 339.2 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.2469, allocations: 0 / 339.2 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006149/0.2475, allocations: 126.6 kB / 339.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001161/0.2487, allocations: 417.3 kB / 339.7 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.637e-05/0.2487, allocations: 27.98 kB / 339.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/0.2607, allocations: 10.56 MB / 350.3 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2607, allocations: 0 / 350.3 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003928/0.2647, allocations: 1.963 MB / 352.3 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000773/0.2654, allocations: 198.2 kB / 352.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002233/0.2657, allocations: 32.11 kB / 352.5 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005479/0.2662, allocations: 35.97 kB / 352.5 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/0.2665, allocations: 104 kB / 352.6 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.909e-05/0.2665, allocations: 30.83 kB / 352.7 MB, free: 15.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001085/0.2676, allocations: 0.6239 MB / 353.3 MB, free: 14.9 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2676, allocations: 0 / 353.3 MB, free: 14.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001947/0.2696, allocations: 376 kB / 353.6 MB, free: 14.53 MB / 314.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.0005396/0.2701, allocations: 154.3 kB / 353.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003249/0.2734, allocations: 1.881 MB / 355.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2734, allocations: 0 / 355.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002113/0.2755, allocations: 1.371 MB / 357.1 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.277, allocations: 294.2 kB / 357.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007469/0.2845, allocations: 3.388 MB / 360.7 MB, free: 7.301 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/0.2863, allocations: 1.048 MB / 361.8 MB, free: 6.211 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005477/0.2868, allocations: 152.7 kB / 361.9 MB, free: 6.059 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.2871, allocations: 68.48 kB / 362 MB, free: 5.992 MB / 314.7 MB Notification: Performance of SimCode: time 1.172e-06/0.2871, allocations: 0 / 362 MB, free: 5.992 MB / 314.7 MB Notification: Performance of Templates: time 0.04186/0.3289, allocations: 19.98 MB / 382 MB, free: 2.359 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.477000132901594]