Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001688/0.001688, allocations: 176.2 kB / 16.41 MB, free: 5.727 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.553/1.553, 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.0007538/0.0007539, allocations: 94 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.000284, allocations: 8 kB / 327 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2357, allocations: 47.57 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.002834/0.2385, allocations: 3.119 MB / 377.7 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.2398, allocations: 1.005 MB / 378.7 MB, free: 42.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.24, allocations: 11.38 kB / 378.7 MB, free: 42.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.2402, allocations: 74.97 kB / 378.8 MB, free: 42.09 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:4970:20-4970:43:writable] Warning: 'each' used when modifying non-array element diode. Notification: Performance of NFTyping.typeBindings: time 0.00053/0.2407, allocations: 193.9 kB / 379 MB, free: 41.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.241, allocations: 98.36 kB / 379.1 MB, free: 41.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007274/0.2417, allocations: 0.9721 MB / 380 MB, free: 41.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004647/0.2422, allocations: 385.9 kB / 380.4 MB, free: 41.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.2425, allocations: 301.8 kB / 380.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004298/0.2429, allocations: 410.5 kB / 381.1 MB, free: 40.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.125e-05/0.243, allocations: 42.53 kB / 381.1 MB, free: 40.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.2431, allocations: 42.84 kB / 381.2 MB, free: 40.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.2433, allocations: 213.2 kB / 381.4 MB, free: 40.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.2434, allocations: 189 kB / 381.6 MB, free: 40.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006166/0.244, allocations: 0.9888 MB / 382.6 MB, free: 39.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2441, allocations: 1.031 kB / 382.6 MB, free: 39.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2441, allocations: 0 / 382.6 MB, free: 39.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.2441, allocations: 0 / 382.6 MB, free: 39.71 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001528/0.2456, allocations: 1.025 MB / 383.6 MB, free: 38.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2457, allocations: 12.97 kB / 383.6 MB, free: 38.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.2458, allocations: 92.91 kB / 383.7 MB, free: 38.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006855/0.2465, allocations: 0.5737 MB / 384.3 MB, free: 38.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.2466, allocations: 50.92 kB / 384.3 MB, free: 38.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.2467, allocations: 66.17 kB / 384.4 MB, free: 38.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.248, allocations: 0.9127 MB / 385.3 MB, free: 37.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.248, allocations: 0.9375 kB / 385.3 MB, free: 37.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-05/0.2481, allocations: 26.34 kB / 385.3 MB, free: 37.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.231e-05/0.2481, allocations: 31.23 kB / 385.4 MB, free: 37.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.2493, allocations: 0.7916 MB / 386.1 MB, free: 37.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003049/0.2523, allocations: 2.811 MB / 389 MB, free: 34.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007121/0.2531, allocations: 0.7617 MB / 389.7 MB, free: 33.37 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004969/0.2536, allocations: 347.8 kB / 390.1 MB, free: 33.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.47e-05/0.2536, allocations: 8.328 kB / 390.1 MB, free: 33.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005131/0.2541, allocations: 389.7 kB / 390.4 MB, free: 32.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.254e-06/0.2542, allocations: 4 kB / 390.5 MB, free: 32.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.002363/0.2565, allocations: 1.197 MB / 391.7 MB, free: 31.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.2566, allocations: 114.8 kB / 391.8 MB, free: 31.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005255/0.2571, allocations: 0.5566 MB / 392.3 MB, free: 30.69 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.2572, allocations: 37.7 kB / 392.4 MB, free: 30.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.2573, allocations: 355.9 kB / 392.7 MB, free: 30.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.829e-05/0.2574, allocations: 134.1 kB / 392.8 MB, free: 30.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.2575, allocations: 12 kB / 392.8 MB, free: 30.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.186e-05/0.2575, allocations: 362.7 kB / 393.2 MB, free: 29.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.2579, allocations: 233 kB / 393.4 MB, free: 29.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.2582, allocations: 357.7 kB / 393.8 MB, free: 29.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.2586, allocations: 258.1 kB / 394 MB, free: 28.9 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2586, allocations: 0 / 394 MB, free: 28.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001007/0.2596, allocations: 0.7511 MB / 394.8 MB, free: 28.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.2596, allocations: 8 kB / 394.8 MB, free: 28.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2596, allocations: 4 kB / 394.8 MB, free: 28.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004563/0.2601, allocations: 212.8 kB / 395 MB, free: 27.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003041/0.2604, allocations: 79.89 kB / 395.1 MB, free: 27.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002365/0.2628, allocations: 2.666 MB / 397.7 MB, free: 25.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.2632, allocations: 63.61 kB / 397.8 MB, free: 24.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.2632, allocations: 20 kB / 397.8 MB, free: 24.95 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003941/0.2636, allocations: 333.8 kB / 398.2 MB, free: 24.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.7e-05/0.2637, allocations: 59.28 kB / 398.2 MB, free: 24.56 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.648e-05/0.2638, allocations: 69.27 kB / 398.3 MB, free: 24.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2638, allocations: 4 kB / 398.3 MB, free: 24.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2638, allocations: 4 kB / 398.3 MB, free: 24.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.2638, allocations: 4 kB / 398.3 MB, free: 24.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.2657, allocations: 1.629 MB / 399.9 MB, free: 22.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2657, allocations: 4 kB / 399.9 MB, free: 22.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.266, allocations: 51.91 kB / 400 MB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003641/0.2663, allocations: 196.9 kB / 400.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.2664, allocations: 19.94 kB / 400.2 MB, free: 22.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.2685, allocations: 2.639 MB / 402.8 MB, free: 19.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2686, allocations: 0 / 402.8 MB, free: 19.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.2699, allocations: 1.114 MB / 403.9 MB, free: 18.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.2701, allocations: 196.3 kB / 404.1 MB, free: 18.4 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.76e-05/0.2702, allocations: 12 kB / 404.1 MB, free: 18.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/0.2705, allocations: 27.97 kB / 404.2 MB, free: 18.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.2706, allocations: 43.92 kB / 404.2 MB, free: 18.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.2706, allocations: 16 kB / 404.2 MB, free: 18.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003936/0.271, allocations: 414.8 kB / 404.6 MB, free: 17.9 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.271, allocations: 0 / 404.6 MB, free: 17.9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006641/0.2717, allocations: 203.4 kB / 404.8 MB, free: 17.7 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001385/0.2718, allocations: 111.9 kB / 404.9 MB, free: 17.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.2729, allocations: 0.7451 MB / 405.7 MB, free: 16.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.2729, allocations: 0 / 405.7 MB, free: 16.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005467/0.2735, allocations: 485.9 kB / 406.2 MB, free: 16.33 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006629/0.2741, allocations: 154 kB / 406.3 MB, free: 16.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.2763, allocations: 1.762 MB / 408.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.2767, allocations: 1.055 MB / 409.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.2769, allocations: 47.42 kB / 409.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2769, allocations: 0 / 409.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of Templates: time 0.01177/0.2886, allocations: 12.68 MB / 421.9 MB, free: 0.582 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches