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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=20000,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=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009911/0.0009912, allocations: 96.91 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001219/0.001219, allocations: 207.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002535/0.0002536, allocations: 8 kB / 306.6 MB, free: 1.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1258, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.006176/0.132, allocations: 5.08 MB / 363.1 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004039/0.1361, allocations: 1.648 MB / 364.8 MB, free: 7.164 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009669/0.1371, allocations: 35.88 kB / 364.8 MB, free: 7.129 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005543/0.1377, allocations: 242.5 kB / 365.1 MB, free: 6.891 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.1391, allocations: 370.8 kB / 365.4 MB, free: 6.527 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006363/0.1397, allocations: 215.8 kB / 365.6 MB, free: 6.316 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001821/0.1415, allocations: 1.357 MB / 367 MB, free: 4.957 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002001/0.1435, allocations: 1.633 MB / 368.6 MB, free: 3.293 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.1447, allocations: 0.6967 MB / 369.3 MB, free: 2.594 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.1459, allocations: 0.8518 MB / 370.2 MB, free: 1.738 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.1461, allocations: 120 kB / 370.3 MB, free: 1.621 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000478/0.1465, allocations: 235.8 kB / 370.5 MB, free: 1.391 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000472/0.147, allocations: 478.5 kB / 371 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004022/0.1474, allocations: 432.6 kB / 371.4 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2344/0.3818, allocations: 2.886 MB / 374.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3819, allocations: 1.344 kB / 374.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.3819, allocations: 0 / 374.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002566/0.3822, allocations: 1.406 kB / 374.3 MB, free: 11.71 MB / 302.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.007222/0.3894, allocations: 2.122 MB / 376.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.3895, allocations: 9.188 kB / 376.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.391, allocations: 263.5 kB / 376.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003084/0.3941, allocations: 1.204 MB / 377.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.3942, allocations: 155.7 kB / 378 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004636/0.3947, allocations: 209.4 kB / 378.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0055/0.4002, allocations: 2.588 MB / 380.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.081e-05/0.4003, allocations: 5.344 kB / 380.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001961/0.4005, allocations: 83.94 kB / 380.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.495e-05/0.4005, allocations: 54.28 kB / 381 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00373/0.4043, allocations: 2.08 MB / 383.1 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/0.4159, allocations: 7.442 MB / 390.5 MB, free: 6.102 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.4181, allocations: 2.354 MB / 392.9 MB, free: 4.117 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.847e-05/0.4182, allocations: 9.688 kB / 392.9 MB, free: 4.117 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.4182, allocations: 47.92 kB / 392.9 MB, free: 4.066 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 3.657e-06/0.4183, allocations: 1.969 kB / 392.9 MB, free: 4.066 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.008458/0.4267, allocations: 4.348 MB / 397.3 MB, free: 1.328 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.4268, allocations: 62.78 kB / 397.3 MB, free: 1.266 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.4279, allocations: 0.8577 MB / 398.2 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.673e-05/0.428, allocations: 41.14 kB / 398.2 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/0.4284, allocations: 0.8296 MB / 399 MB, free: 4 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003143/0.4287, allocations: 327.3 kB / 399.4 MB, free: 15.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.4288, allocations: 21.81 kB / 399.4 MB, free: 15.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.4289, allocations: 346.7 kB / 399.7 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007592/0.4297, allocations: 0.4901 MB / 400.2 MB, free: 15.12 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008969/0.4306, allocations: 0.6727 MB / 400.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008991/0.4315, allocations: 0.5726 MB / 401.5 MB, free: 14.37 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.4315, allocations: 1.344 kB / 401.5 MB, free: 14.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002673/0.4342, allocations: 1.63 MB / 403.1 MB, free: 13.53 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4343, allocations: 6.406 kB / 403.1 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.4343, allocations: 5.469 kB / 403.1 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.4354, allocations: 477.5 kB / 403.6 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006742/0.4361, allocations: 170.3 kB / 403.7 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008762/0.4449, allocations: 8.592 MB / 412.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008354/0.4458, allocations: 57.28 kB / 412.4 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.187e-05/0.4458, allocations: 36 kB / 412.4 MB, free: 3.777 MB / 318.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 (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 initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001379/0.4472, allocations: 0.636 MB / 413.1 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/0.4475, allocations: 102.8 kB / 413.2 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.4477, allocations: 140.3 kB / 413.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.147e-05/0.4478, allocations: 12 kB / 413.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/0.4478, allocations: 0 / 413.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.4478, allocations: 3.984 kB / 413.3 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006051/0.4539, allocations: 3.504 MB / 416.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.4539, allocations: 8.062 kB / 416.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005526/0.4545, allocations: 122.8 kB / 416.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009964/0.4555, allocations: 458.8 kB / 417.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.077e-05/0.4555, allocations: 27.66 kB / 417.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008568/0.4641, allocations: 8.521 MB / 425.9 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4641, allocations: 0 / 425.9 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003754/0.4679, allocations: 2.345 MB / 428.3 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006794/0.4686, allocations: 277.9 kB / 428.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.4688, allocations: 20.45 kB / 428.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004531/0.4692, allocations: 47.95 kB / 428.6 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002047/0.4694, allocations: 88.14 kB / 428.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.792e-05/0.4695, allocations: 24 kB / 428.7 MB, free: 2.891 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009252/0.4704, allocations: 0.6005 MB / 429.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4704, allocations: 0 / 429.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001709/0.4721, allocations: 386 kB / 429.7 MB, free: 1.918 MB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002817/0.4724, allocations: 144.8 kB / 429.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002769/0.4752, allocations: 1.819 MB / 431.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4752, allocations: 384 / 431.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.4769, allocations: 1.252 MB / 432.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.4782, allocations: 281.6 kB / 433.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007973/0.4862, allocations: 4.376 MB / 437.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00191/0.4881, allocations: 1.753 MB / 439.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0009325/0.4891, allocations: 196.8 kB / 439.5 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.4893, allocations: 67.42 kB / 439.6 MB, free: 7.875 MB / 350.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4893, allocations: 2.406 kB / 439.6 MB, free: 7.875 MB / 350.1 MB Notification: Performance of Templates: time 0.03843/0.5278, allocations: 18.76 MB / 458.3 MB, free: 5.34 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches