Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007861/0.0007861, allocations: 92.61 kB / 17.31 MB, free: 6.535 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.00084/0.00084, allocations: 175 kB / 18.21 MB, free: 5.684 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.125/1.125, allocations: 223.3 MB / 242.3 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002161/0.0002162, allocations: 7.938 kB / 302.1 MB, free: 6.09 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07127/0.0715, allocations: 50.42 MB / 352.5 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003283/0.07481, allocations: 3.299 MB / 355.8 MB, free: 348 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.07638, allocations: 0.9781 MB / 356.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002317/0.07663, allocations: 15.94 kB / 356.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.07684, allocations: 91.33 kB / 356.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005719/0.07742, allocations: 211 kB / 357.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.07769, allocations: 127.8 kB / 357.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009101/0.0786, allocations: 1.055 MB / 358.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005697/0.07918, allocations: 0.4939 MB / 358.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003476/0.07954, allocations: 306.6 kB / 359.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005187/0.08007, allocations: 426.2 kB / 359.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.955e-05/0.08015, allocations: 40 kB / 359.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.832e-05/0.08024, allocations: 40 kB / 359.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.08041, allocations: 211.2 kB / 359.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003402/0.08076, allocations: 415.5 kB / 360.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007001/0.08147, allocations: 1.013 MB / 361.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.08148, allocations: 4 kB / 361.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.08148, allocations: 0 / 361.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.103e-05/0.08151, allocations: 0 / 361.2 MB, free: 10.92 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00158/0.08309, allocations: 1.022 MB / 362.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.08313, allocations: 8.031 kB / 362.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.08329, allocations: 91.81 kB / 362.3 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000724/0.08402, allocations: 0.6197 MB / 362.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.08407, allocations: 53.25 kB / 363 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.532e-05/0.08418, allocations: 64 kB / 363.1 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.0855, allocations: 0.9306 MB / 364 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.08553, allocations: 7.906 kB / 364 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.375e-05/0.0856, allocations: 28 kB / 364 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/0.08564, allocations: 29.3 kB / 364 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.08685, allocations: 0.8053 MB / 364.9 MB, free: 7.145 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003411/0.09027, allocations: 2.827 MB / 367.7 MB, free: 4.211 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007956/0.09108, allocations: 0.7489 MB / 368.4 MB, free: 3.398 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005302/0.09162, allocations: 365 kB / 368.8 MB, free: 3.039 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.09166, allocations: 12.31 kB / 368.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005311/0.0922, allocations: 389.8 kB / 369.2 MB, free: 2.625 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.09221, allocations: 0 / 369.2 MB, free: 2.625 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002458/0.09467, allocations: 1.249 MB / 370.4 MB, free: 1.348 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.09474, allocations: 110.8 kB / 370.5 MB, free: 1.215 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005842/0.09533, allocations: 0.576 MB / 371.1 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.09538, allocations: 33.7 kB / 371.1 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.0956, allocations: 359.9 kB / 371.5 MB, free: 240 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.09571, allocations: 141.9 kB / 371.6 MB, free: 96 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.929e-05/0.09577, allocations: 49.69 kB / 371.7 MB, free: 40 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.126/0.2218, allocations: 357.9 kB / 372 MB, free: 24.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005149/0.2223, allocations: 224.5 kB / 372.2 MB, free: 24.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004806/0.2228, allocations: 370.8 kB / 372.6 MB, free: 24.28 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007421/0.2236, allocations: 0.5768 MB / 373.2 MB, free: 24.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.2236, allocations: 0.9688 kB / 373.2 MB, free: 24.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00122/0.2248, allocations: 0.7702 MB / 374 MB, free: 24.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.2249, allocations: 6.562 kB / 374 MB, free: 24.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.2249, allocations: 4.625 kB / 374 MB, free: 24.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004906/0.2254, allocations: 203.1 kB / 374.2 MB, free: 24.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.2257, allocations: 78.73 kB / 374.2 MB, free: 24.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/0.2282, allocations: 2.782 MB / 377 MB, free: 22.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.2286, allocations: 50.39 kB / 377.1 MB, free: 22.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.2286, allocations: 19.45 kB / 377.1 MB, free: 22.4 MB / 302.1 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 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003658/0.229, allocations: 328.9 kB / 377.4 MB, free: 22.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.631e-05/0.2291, allocations: 58.7 kB / 377.5 MB, free: 22.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.2292, allocations: 66.84 kB / 377.5 MB, free: 22.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.2292, allocations: 4.734 kB / 377.5 MB, free: 22.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.2292, allocations: 1.906 kB / 377.5 MB, free: 22.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.2292, allocations: 2.625 kB / 377.5 MB, free: 22.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/0.2313, allocations: 1.767 MB / 379.3 MB, free: 21.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2314, allocations: 1.625 kB / 379.3 MB, free: 21.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.2316, allocations: 50.22 kB / 379.4 MB, free: 21.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000361/0.2319, allocations: 197.2 kB / 379.6 MB, free: 21.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.232, allocations: 13.03 kB / 379.6 MB, free: 21.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.2341, allocations: 2.648 MB / 382.2 MB, free: 19.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2341, allocations: 2.062 kB / 382.2 MB, free: 19.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.2356, allocations: 1.162 MB / 383.4 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.2358, allocations: 187.5 kB / 383.6 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/0.2359, allocations: 10.97 kB / 383.6 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.2362, allocations: 31.22 kB / 383.6 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.2363, allocations: 48.67 kB / 383.7 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.2363, allocations: 11.62 kB / 383.7 MB, free: 18.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004171/0.2367, allocations: 420.9 kB / 384.1 MB, free: 18.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2367, allocations: 0 / 384.1 MB, free: 18.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005875/0.2373, allocations: 210.6 kB / 384.3 MB, free: 18.37 MB / 302.1 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001076/0.2375, allocations: 120.9 kB / 384.4 MB, free: 18.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.2385, allocations: 0.7368 MB / 385.1 MB, free: 17.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2385, allocations: 0 / 385.1 MB, free: 17.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005853/0.2391, allocations: 488.2 kB / 385.6 MB, free: 17.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006519/0.2398, allocations: 129.1 kB / 385.7 MB, free: 17.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.2421, allocations: 1.901 MB / 387.6 MB, free: 16.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.2426, allocations: 1.071 MB / 388.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.2427, allocations: 38.59 kB / 388.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of SimCode: time 1.9e-07/0.2427, allocations: 0 / 388.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of Templates: time 0.01218/0.2549, allocations: 12.7 MB / 401.5 MB, free: 7.078 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches