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.0008008/0.000801, allocations: 98.53 kB / 17 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009108/0.0009109, allocations: 198.2 kB / 17.91 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.7 MB / 246.4 MB, free: 11.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000236/0.0002364, allocations: 12 kB / 307.1 MB, free: 1.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09285/0.09311, allocations: 51.51 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.006219/0.09936, allocations: 5.399 MB / 364 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003482/0.1029, allocations: 1.613 MB / 365.6 MB, free: 6.613 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009828/0.1039, allocations: 43.81 kB / 365.7 MB, free: 6.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008032/0.1047, allocations: 218.4 kB / 365.9 MB, free: 6.355 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001794/0.1065, allocations: 366 kB / 366.2 MB, free: 5.996 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009576/0.1075, allocations: 215.7 kB / 366.5 MB, free: 5.785 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003379/0.1109, allocations: 2.121 MB / 368.6 MB, free: 3.656 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003103/0.114, allocations: 1.649 MB / 370.2 MB, free: 1.977 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.1159, allocations: 0.7199 MB / 370.9 MB, free: 1.254 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002002/0.1179, allocations: 0.9257 MB / 371.9 MB, free: 332 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004761/0.1184, allocations: 124 kB / 372 MB, free: 208 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000988/0.1194, allocations: 207.9 kB / 372.2 MB, free: 0 / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.176/0.2954, allocations: 494.7 kB / 372.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006263/0.2961, allocations: 434.2 kB / 373.1 MB, free: 11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003517/0.2996, allocations: 2.892 MB / 376 MB, free: 10.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2997, allocations: 2.719 kB / 376 MB, free: 10.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2997, allocations: 0.9688 kB / 376 MB, free: 10.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.849e-05/0.2998, allocations: 1.641 kB / 376 MB, free: 10.84 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.004766/0.3045, allocations: 2.12 MB / 378.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3046, allocations: 9.625 kB / 378.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008712/0.3055, allocations: 267 kB / 378.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/0.3078, allocations: 1.23 MB / 379.6 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.308, allocations: 157.9 kB / 379.8 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004035/0.3084, allocations: 201.1 kB / 380 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005362/0.3138, allocations: 2.613 MB / 382.6 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.952e-05/0.3138, allocations: 0 / 382.6 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002213/0.314, allocations: 82.19 kB / 382.7 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.483e-05/0.3141, allocations: 51.44 kB / 382.7 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004162/0.3183, allocations: 2.082 MB / 384.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01132/0.3297, allocations: 7.438 MB / 392.2 MB, free: 4.605 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.3318, allocations: 2.36 MB / 394.6 MB, free: 2.609 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/0.3332, allocations: 0.9357 MB / 395.5 MB, free: 2.172 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.844e-05/0.3332, allocations: 10.28 kB / 395.5 MB, free: 2.168 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.3333, allocations: 48.66 kB / 395.6 MB, free: 2.121 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 3.917e-06/0.3333, allocations: 0 / 395.6 MB, free: 2.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.007374/0.3407, allocations: 4.21 MB / 399.8 MB, free: 15.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.3407, allocations: 64.09 kB / 399.9 MB, free: 15.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.3419, allocations: 0.8572 MB / 400.7 MB, free: 15.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.545e-05/0.342, allocations: 44.36 kB / 400.8 MB, free: 14.97 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005465/0.3425, allocations: 0.8424 MB / 401.6 MB, free: 14.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/0.3428, allocations: 322.7 kB / 401.9 MB, free: 13.96 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.3429, allocations: 25.72 kB / 401.9 MB, free: 13.94 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.343, allocations: 344.6 kB / 402.3 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007482/0.3438, allocations: 497.2 kB / 402.8 MB, free: 13.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008479/0.3446, allocations: 0.6769 MB / 403.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008854/0.3455, allocations: 0.569 MB / 404 MB, free: 12.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.3455, allocations: 2.656 kB / 404 MB, free: 12.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002633/0.3482, allocations: 1.625 MB / 405.6 MB, free: 11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.3482, allocations: 11.98 kB / 405.7 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.3482, allocations: 4 kB / 405.7 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.3493, allocations: 460.9 kB / 406.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000684/0.35, allocations: 172.3 kB / 406.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008899/0.3589, allocations: 8.454 MB / 414.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006803/0.3596, allocations: 47.95 kB / 414.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.3597, allocations: 34.03 kB / 414.8 MB, free: 1.355 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.001232/0.361, allocations: 0.6466 MB / 415.5 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/0.3612, allocations: 110.7 kB / 415.6 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003541/0.3616, allocations: 134.1 kB / 415.7 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.941e-05/0.3616, allocations: 12 kB / 415.7 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.3616, allocations: 0 / 415.7 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.3617, allocations: 7.984 kB / 415.7 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006151/0.3678, allocations: 3.521 MB / 419.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.3678, allocations: 4 kB / 419.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005605/0.3684, allocations: 123.2 kB / 419.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001/0.3694, allocations: 456.2 kB / 419.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.119e-05/0.3695, allocations: 23.98 kB / 419.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008362/0.3779, allocations: 8.368 MB / 428.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3779, allocations: 0 / 428.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003741/0.3817, allocations: 2.315 MB / 430.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006516/0.3823, allocations: 275.8 kB / 430.8 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002363/0.3826, allocations: 25.31 kB / 430.8 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005286/0.3831, allocations: 47.91 kB / 430.9 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/0.3833, allocations: 88.88 kB / 430.9 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-05/0.3834, allocations: 20 kB / 431 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009552/0.3844, allocations: 0.6083 MB / 431.6 MB, free: 28 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3844, allocations: 4 kB / 431.6 MB, free: 24 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.001863/0.3863, allocations: 377 kB / 431.9 MB, free: 15.65 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.000326/0.3866, allocations: 137.6 kB / 432.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002845/0.3894, allocations: 1.822 MB / 433.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3895, allocations: 6.359 kB / 433.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001665/0.3911, allocations: 1.235 MB / 435.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/0.3927, allocations: 295.1 kB / 435.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007276/0.4, allocations: 4.39 MB / 439.8 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001741/0.4017, allocations: 1.722 MB / 441.5 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006644/0.4024, allocations: 188.9 kB / 441.7 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.4026, allocations: 67.42 kB / 441.8 MB, free: 5.691 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4026, allocations: 0 / 441.8 MB, free: 5.691 MB / 350.1 MB Notification: Performance of Templates: time 0.03374/0.4364, allocations: 18.83 MB / 460.6 MB, free: 3.113 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches