Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001679/0.001679, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009815/0.0009814, allocations: 110.2 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000985/0.0009851, allocations: 51.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1945, allocations: 50.45 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003701/0.1983, allocations: 3.72 MB / 410.8 MB, free: 24.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1997, allocations: 1.042 MB / 411.8 MB, free: 23.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.1999, allocations: 15.94 kB / 411.8 MB, free: 23.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.2002, allocations: 86 kB / 411.9 MB, free: 22.94 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004998/0.2007, allocations: 214.9 kB / 412.1 MB, free: 22.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.2009, allocations: 123.8 kB / 412.3 MB, free: 22.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006307/0.2015, allocations: 1.082 MB / 413.3 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004628/0.202, allocations: 0.5212 MB / 413.9 MB, free: 20.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.2023, allocations: 350.6 kB / 414.2 MB, free: 20.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003888/0.2027, allocations: 470.1 kB / 414.7 MB, free: 20.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.055e-05/0.2028, allocations: 60 kB / 414.7 MB, free: 20.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.2029, allocations: 64 kB / 414.8 MB, free: 20.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.2031, allocations: 239.1 kB / 415 MB, free: 19.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002694/0.2034, allocations: 429.8 kB / 415.4 MB, free: 19.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006367/0.204, allocations: 1.248 MB / 416.7 MB, free: 18.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.204, allocations: 0 / 416.7 MB, free: 18.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.204, allocations: 0 / 416.7 MB, free: 18.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.966e-06/0.204, allocations: 0 / 416.7 MB, free: 18.15 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001648/0.2057, allocations: 1.166 MB / 417.9 MB, free: 16.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.2057, allocations: 8.031 kB / 417.9 MB, free: 16.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003499/0.2061, allocations: 123.9 kB / 418 MB, free: 16.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007328/0.2068, allocations: 0.6273 MB / 418.6 MB, free: 16.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.2069, allocations: 49.25 kB / 418.7 MB, free: 16.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.428e-05/0.2069, allocations: 68 kB / 418.7 MB, free: 16.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.2081, allocations: 0.9189 MB / 419.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.2081, allocations: 4 kB / 419.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-05/0.2082, allocations: 23.98 kB / 419.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/0.2082, allocations: 33.31 kB / 419.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.2092, allocations: 0.7936 MB / 420.5 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/0.2123, allocations: 2.815 MB / 423.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006687/0.213, allocations: 0.7516 MB / 424.1 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004616/0.2134, allocations: 346.3 kB / 424.4 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.2135, allocations: 4.328 kB / 424.4 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004643/0.214, allocations: 374.6 kB / 424.8 MB, free: 9.762 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.465e-06/0.214, allocations: 7.922 kB / 424.8 MB, free: 9.754 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.002371/0.2163, allocations: 1.241 MB / 426 MB, free: 8.484 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.2164, allocations: 114.8 kB / 426.1 MB, free: 8.348 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/0.2169, allocations: 0.5761 MB / 426.7 MB, free: 7.762 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.2169, allocations: 33.7 kB / 426.7 MB, free: 7.723 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.2171, allocations: 359.9 kB / 427.1 MB, free: 7.367 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.826e-05/0.2172, allocations: 138 kB / 427.2 MB, free: 7.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.2173, allocations: 90.25 kB / 427.3 MB, free: 7.137 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.147e-05/0.2173, allocations: 362.8 kB / 427.7 MB, free: 6.773 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.2176, allocations: 221 kB / 427.9 MB, free: 6.559 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/0.218, allocations: 365.7 kB / 428.2 MB, free: 6.141 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006118/0.2186, allocations: 0.5622 MB / 428.8 MB, free: 5.523 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2186, allocations: 4 kB / 428.8 MB, free: 5.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009631/0.2196, allocations: 0.7586 MB / 429.6 MB, free: 4.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2196, allocations: 6.969 kB / 429.6 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2196, allocations: 8 kB / 429.6 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004287/0.2201, allocations: 201.1 kB / 429.8 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.2203, allocations: 79.83 kB / 429.9 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/0.2226, allocations: 2.769 MB / 432.6 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002928/0.2229, allocations: 47.7 kB / 432.7 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.223, allocations: 24 kB / 432.7 MB, free: 1.484 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 (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.0002756/0.2233, allocations: 323.2 kB / 433 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.329e-05/0.2233, allocations: 67.17 kB / 433.1 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.2235, allocations: 73.39 kB / 433.1 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.2235, allocations: 4 kB / 433.2 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.2235, allocations: 0 / 433.2 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2235, allocations: 3.984 kB / 433.2 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/0.2257, allocations: 1.752 MB / 434.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2257, allocations: 4.031 kB / 434.9 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.226, allocations: 43.91 kB / 435 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004006/0.2264, allocations: 192.7 kB / 435.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.2264, allocations: 15.98 kB / 435.2 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002639/0.2291, allocations: 2.637 MB / 437.8 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2291, allocations: 0 / 437.8 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007777/0.2369, allocations: 6.269 MB / 444.1 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.2371, allocations: 192.4 kB / 444.3 MB, free: 5.402 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.496e-05/0.2372, allocations: 12 kB / 444.3 MB, free: 5.391 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.2375, allocations: 23.97 kB / 444.3 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.2376, allocations: 44.03 kB / 444.3 MB, free: 5.324 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-05/0.2377, allocations: 19.92 kB / 444.3 MB, free: 5.305 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004667/0.2382, allocations: 422.8 kB / 444.8 MB, free: 4.895 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2382, allocations: 0 / 444.8 MB, free: 4.895 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008398/0.239, allocations: 267.2 kB / 445 MB, free: 4.633 MB / 314.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_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.0001619/0.2392, allocations: 123.6 kB / 445.1 MB, free: 4.504 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.2403, allocations: 0.7207 MB / 445.9 MB, free: 3.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2404, allocations: 4.938 kB / 445.9 MB, free: 3.766 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006219/0.241, allocations: 482 kB / 446.3 MB, free: 3.281 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006676/0.2417, allocations: 130.8 kB / 446.5 MB, free: 3.152 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/0.2449, allocations: 2.335 MB / 448.8 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006395/0.2455, allocations: 1.082 MB / 449.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000276/0.2458, allocations: 96.78 kB / 450 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.2459, allocations: 35.44 kB / 450 MB, free: 15.53 MB / 330.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2459, allocations: 4 kB / 450 MB, free: 15.53 MB / 330.7 MB Notification: Performance of Templates: time 0.01638/0.2623, allocations: 10.71 MB / 460.7 MB, free: 4.941 MB / 330.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches