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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=20000,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=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009385/0.0009386, allocations: 94 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009368/0.0009369, allocations: 185.3 kB / 17.2 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.2 MB / 241.1 MB, free: 5.43 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.0003021, allocations: 7.469 kB / 300.7 MB, free: 6.035 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1047, allocations: 50.43 MB / 351.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007191/0.1119, allocations: 5.064 MB / 356.2 MB, free: 6.621 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004092/0.1161, allocations: 1.621 MB / 357.8 MB, free: 4.996 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009976/0.1171, allocations: 39.81 kB / 357.9 MB, free: 4.957 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008016/0.1179, allocations: 238.6 kB / 358.1 MB, free: 4.723 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.1195, allocations: 362.9 kB / 358.4 MB, free: 4.367 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006626/0.1202, allocations: 223.6 kB / 358.7 MB, free: 4.148 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.1219, allocations: 1.346 MB / 360 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.1238, allocations: 1.633 MB / 361.6 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009541/0.1248, allocations: 0.6967 MB / 362.3 MB, free: 444 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.126, allocations: 0.8558 MB / 363.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002097/0.1262, allocations: 120 kB / 363.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004835/0.1267, allocations: 231.8 kB / 363.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004397/0.1271, allocations: 478.5 kB / 364 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003989/0.1275, allocations: 428.6 kB / 364.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002516/0.1301, allocations: 2.894 MB / 367.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1301, allocations: 0 / 367.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1301, allocations: 4 kB / 367.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.249e-05/0.1302, allocations: 0 / 367.3 MB, free: 11.43 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.004169/0.1343, allocations: 2.113 MB / 369.4 MB, free: 9.254 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.1344, allocations: 8.031 kB / 369.4 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000602/0.135, allocations: 229.3 kB / 369.7 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.1372, allocations: 1.208 MB / 370.9 MB, free: 7.762 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.1373, allocations: 160.1 kB / 371 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000266/0.1376, allocations: 204 kB / 371.2 MB, free: 7.402 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004382/0.142, allocations: 2.587 MB / 373.8 MB, free: 4.727 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.838e-05/0.142, allocations: 3.938 kB / 373.8 MB, free: 4.723 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/0.1422, allocations: 80 kB / 373.9 MB, free: 4.645 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.45e-05/0.1423, allocations: 52 kB / 374 MB, free: 4.594 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003455/0.1458, allocations: 2.085 MB / 376 MB, free: 2.488 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/0.1573, allocations: 7.439 MB / 383.5 MB, free: 10.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/0.1597, allocations: 2.366 MB / 385.8 MB, free: 8.277 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.266e-05/0.1597, allocations: 9 kB / 385.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.1598, allocations: 43.56 kB / 385.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 3.767e-06/0.1598, allocations: 0 / 385.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.007996/0.1678, allocations: 4.36 MB / 390.3 MB, free: 3.699 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.1679, allocations: 60.41 kB / 390.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.1692, allocations: 0.8485 MB / 391.2 MB, free: 2.773 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.552e-05/0.1692, allocations: 41.7 kB / 391.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000562/0.1698, allocations: 0.8294 MB / 392 MB, free: 1.883 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.1701, allocations: 331.3 kB / 392.4 MB, free: 1.555 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.1701, allocations: 20 kB / 392.4 MB, free: 1.535 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1703, allocations: 349.9 kB / 392.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007844/0.1711, allocations: 497.7 kB / 393.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008833/0.172, allocations: 0.6699 MB / 393.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008531/0.1728, allocations: 0.5729 MB / 394.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.1728, allocations: 0 / 394.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002606/0.1755, allocations: 1.624 MB / 396.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.1755, allocations: 11.95 kB / 396.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.1755, allocations: 11.88 kB / 396.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.1766, allocations: 467 kB / 396.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006622/0.1772, allocations: 175.8 kB / 396.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008019/0.1853, allocations: 8.596 MB / 405.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006425/0.1859, allocations: 48.48 kB / 405.4 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.168e-05/0.186, allocations: 36 kB / 405.4 MB, free: 3.863 MB / 334.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.0009702/0.187, allocations: 0.638 MB / 406 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.1872, allocations: 98.78 kB / 406.1 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.1874, allocations: 138 kB / 406.3 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.808e-05/0.1874, allocations: 11.94 kB / 406.3 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.1875, allocations: 11.95 kB / 406.3 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1875, allocations: 3.984 kB / 406.3 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005328/0.1928, allocations: 3.508 MB / 409.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.1928, allocations: 0 / 409.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005416/0.1934, allocations: 127.8 kB / 409.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009433/0.1943, allocations: 451.1 kB / 410.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.678e-05/0.1944, allocations: 27.94 kB / 410.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008452/0.2029, allocations: 8.531 MB / 418.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2029, allocations: 3.938 kB / 418.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003466/0.2064, allocations: 2.346 MB / 421.3 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007336/0.2072, allocations: 275.8 kB / 421.5 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.2073, allocations: 19.98 kB / 421.6 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004441/0.2078, allocations: 55.91 kB / 421.6 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/0.208, allocations: 80.88 kB / 421.7 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-05/0.2081, allocations: 31.98 kB / 421.7 MB, free: 2.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008407/0.2089, allocations: 0.5966 MB / 422.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2089, allocations: 0 / 422.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001656/0.2106, allocations: 380 kB / 422.7 MB, free: 1.852 MB / 350.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.0003146/0.2109, allocations: 143.1 kB / 422.8 MB, free: 1.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.2748/0.4857, allocations: 1.82 MB / 424.7 MB, free: 63.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/0.4858, allocations: 0 / 424.7 MB, free: 63.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002034/0.4878, allocations: 1.244 MB / 425.9 MB, free: 63.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.4892, allocations: 270 kB / 426.2 MB, free: 63.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006486/0.4957, allocations: 4.396 MB / 430.6 MB, free: 61.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001847/0.4976, allocations: 1.76 MB / 432.3 MB, free: 60.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007474/0.4983, allocations: 190.7 kB / 432.5 MB, free: 60.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.4985, allocations: 63.08 kB / 432.6 MB, free: 60.32 MB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4985, allocations: 0 / 432.6 MB, free: 60.32 MB / 350.1 MB Notification: Performance of Templates: time 0.03369/0.5322, allocations: 18.78 MB / 451.4 MB, free: 50.06 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (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 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches