Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.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_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.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_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 180 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009542/0.000954, allocations: 99.72 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.0004483, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3747, allocations: 47.57 MB / 374.6 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.007116/0.3819, allocations: 5.349 MB / 379.9 MB, free: 41.24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004581/0.3865, allocations: 1.6 MB / 381.5 MB, free: 39.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.388, allocations: 36.78 kB / 381.5 MB, free: 39.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008194/0.3888, allocations: 219.3 kB / 381.8 MB, free: 39.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.3906, allocations: 361.4 kB / 382.1 MB, free: 39.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000823/0.3915, allocations: 226 kB / 382.3 MB, free: 39.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003473/0.395, allocations: 2.118 MB / 384.4 MB, free: 38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002763/0.3977, allocations: 1.592 MB / 386 MB, free: 37.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.3995, allocations: 0.7198 MB / 386.8 MB, free: 36.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.4009, allocations: 0.9297 MB / 387.7 MB, free: 35.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.4011, allocations: 120 kB / 387.8 MB, free: 35.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005587/0.4016, allocations: 235.8 kB / 388 MB, free: 35.31 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003566/0.402, allocations: 0.4945 MB / 388.5 MB, free: 34.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004507/0.4024, allocations: 428.6 kB / 388.9 MB, free: 34.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002256/0.4047, allocations: 2.888 MB / 391.8 MB, free: 31.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.4047, allocations: 3.938 kB / 391.8 MB, free: 31.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4047, allocations: 0 / 391.8 MB, free: 31.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.925e-05/0.4048, allocations: 0 / 391.8 MB, free: 31.49 MB / 298.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.003649/0.4085, allocations: 2.098 MB / 393.9 MB, free: 29.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/0.4085, allocations: 12.03 kB / 393.9 MB, free: 29.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004985/0.4091, allocations: 241.2 kB / 394.2 MB, free: 29.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/0.4107, allocations: 1.142 MB / 395.3 MB, free: 27.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.474e-05/0.4107, allocations: 160.1 kB / 395.5 MB, free: 27.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000234/0.411, allocations: 200 kB / 395.7 MB, free: 27.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004002/0.415, allocations: 2.599 MB / 398.3 MB, free: 24.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.504e-05/0.4151, allocations: 0 / 398.3 MB, free: 24.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/0.4152, allocations: 88 kB / 398.4 MB, free: 24.76 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-05/0.4153, allocations: 55.98 kB / 398.4 MB, free: 24.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003025/0.4183, allocations: 2.081 MB / 400.5 MB, free: 22.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009687/0.428, allocations: 7.46 MB / 408 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.4301, allocations: 2.351 MB / 410.3 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/0.4314, allocations: 0.9318 MB / 411.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.617e-05/0.4314, allocations: 9 kB / 411.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.4315, allocations: 51.52 kB / 411.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=96): time 5.4e-06/0.4315, allocations: 0 / 411.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=97): time 0.007388/0.4389, allocations: 4.201 MB / 415.5 MB, free: 7.062 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.4389, allocations: 64.41 kB / 415.6 MB, free: 6.988 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009769/0.4399, allocations: 0.8524 MB / 416.4 MB, free: 6.129 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.416e-05/0.44, allocations: 41.7 kB / 416.5 MB, free: 6.082 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.4404, allocations: 0.8372 MB / 417.3 MB, free: 5.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.4406, allocations: 323.3 kB / 417.6 MB, free: 4.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.332e-05/0.4407, allocations: 23.94 kB / 417.6 MB, free: 4.887 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.4408, allocations: 349.9 kB / 418 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006221/0.4414, allocations: 497.7 kB / 418.5 MB, free: 4.051 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006986/0.4421, allocations: 0.6777 MB / 419.1 MB, free: 3.309 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006918/0.4428, allocations: 0.569 MB / 419.7 MB, free: 2.742 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4428, allocations: 0 / 419.7 MB, free: 2.742 MB / 298.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002209/0.445, allocations: 1.624 MB / 421.3 MB, free: 1.094 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.4451, allocations: 11.98 kB / 421.3 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.4451, allocations: 4 kB / 421.3 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009567/0.4461, allocations: 467 kB / 421.8 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006209/0.4467, allocations: 175.7 kB / 422 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009441/0.4562, allocations: 8.459 MB / 430.4 MB, free: 7.438 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008558/0.4571, allocations: 52.02 kB / 430.5 MB, free: 7.387 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.408e-05/0.4571, allocations: 36 kB / 430.5 MB, free: 7.352 MB / 314.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 (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.001333/0.4585, allocations: 0.6442 MB / 431.2 MB, free: 6.699 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/0.4587, allocations: 102.8 kB / 431.3 MB, free: 6.598 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.459, allocations: 130 kB / 431.4 MB, free: 6.465 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.273e-05/0.459, allocations: 16.42 kB / 431.4 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/0.459, allocations: 4 kB / 431.4 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.4591, allocations: 7.984 kB / 431.4 MB, free: 6.438 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005957/0.465, allocations: 3.524 MB / 434.9 MB, free: 2.832 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4651, allocations: 0 / 434.9 MB, free: 2.832 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000555/0.4656, allocations: 135.7 kB / 435.1 MB, free: 2.699 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009926/0.4666, allocations: 455 kB / 435.5 MB, free: 2.242 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.792e-05/0.4667, allocations: 23.98 kB / 435.5 MB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008862/0.4756, allocations: 8.361 MB / 443.9 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.4756, allocations: 4.5 kB / 443.9 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003846/0.4795, allocations: 2.312 MB / 446.2 MB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005881/0.4801, allocations: 287.8 kB / 446.5 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.4802, allocations: 24 kB / 446.5 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005192/0.4808, allocations: 43.95 kB / 446.6 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003025/0.4811, allocations: 92.75 kB / 446.7 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.382e-05/0.4812, allocations: 27.94 kB / 446.7 MB, free: 6.477 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001145/0.4823, allocations: 0.6044 MB / 447.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4823, allocations: 0 / 447.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002102/0.4845, allocations: 376 kB / 447.7 MB, free: 5.512 MB / 330.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 (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.0004635/0.4849, allocations: 135.2 kB / 447.8 MB, free: 5.367 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003118/0.4881, allocations: 1.815 MB / 449.6 MB, free: 3.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.4881, allocations: 1.312 kB / 449.6 MB, free: 3.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001959/0.4901, allocations: 1.242 MB / 450.8 MB, free: 2.203 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.4917, allocations: 283.1 kB / 451.1 MB, free: 1.926 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00813/0.4999, allocations: 4.375 MB / 455.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001897/0.5018, allocations: 1.683 MB / 457.2 MB, free: 11.78 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/0.5022, allocations: 71.36 kB / 457.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of SimCode: time 1.994e-06/0.5022, allocations: 0 / 457.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of Templates: time 0.2711/0.7733, allocations: 58.29 MB / 0.5035 GB, free: 104.6 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches