Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009709/0.0009709, allocations: 196.8 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.227/1.227, allocations: 226.6 MB / 244.3 MB, free: 6.586 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007452/0.0007452, allocations: 100.7 kB / 296.4 MB, free: 6.797 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002139/0.0002139, allocations: 4 kB / 356.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.1997, allocations: 51.29 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.002336/0.2021, allocations: 2.978 MB / 410.5 MB, free: 24.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009454/0.2031, allocations: 0.8516 MB / 411.3 MB, free: 23.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.2032, allocations: 7.938 kB / 411.3 MB, free: 23.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.2033, allocations: 44.23 kB / 411.4 MB, free: 23.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.2035, allocations: 105.2 kB / 411.5 MB, free: 23.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.2038, allocations: 101.4 kB / 411.6 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.2041, allocations: 478 kB / 412.1 MB, free: 23.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.2043, allocations: 131 kB / 412.2 MB, free: 23.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.2044, allocations: 163.9 kB / 412.3 MB, free: 22.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.2046, allocations: 190.9 kB / 412.5 MB, free: 22.78 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.2047, allocations: 20 kB / 412.6 MB, free: 22.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.464e-05/0.2048, allocations: 20 kB / 412.6 MB, free: 22.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.813e-05/0.2048, allocations: 75.62 kB / 412.6 MB, free: 22.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.844e-05/0.2049, allocations: 113.4 kB / 412.8 MB, free: 22.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.2051, allocations: 395.9 kB / 413.1 MB, free: 22.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2051, allocations: 0 / 413.1 MB, free: 22.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2052, allocations: 0 / 413.1 MB, free: 22.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.2052, allocations: 3.938 kB / 413.1 MB, free: 22.16 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.000856/0.206, allocations: 0.6696 MB / 413.8 MB, free: 21.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.2061, allocations: 8.031 kB / 413.8 MB, free: 21.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002295/0.2063, allocations: 75.41 kB / 413.9 MB, free: 21.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.2066, allocations: 331.2 kB / 414.2 MB, free: 20.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.2066, allocations: 36.95 kB / 414.3 MB, free: 20.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.9e-05/0.2067, allocations: 36 kB / 414.3 MB, free: 20.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005481/0.2072, allocations: 391.8 kB / 414.7 MB, free: 20.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.2073, allocations: 0 / 414.7 MB, free: 20.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.2073, allocations: 16 kB / 414.7 MB, free: 20.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.2073, allocations: 8 kB / 414.7 MB, free: 20.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00042/0.2077, allocations: 267.8 kB / 415 MB, free: 20.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.2094, allocations: 1.519 MB / 416.5 MB, free: 18.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.2097, allocations: 243.4 kB / 416.7 MB, free: 18.37 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.21, allocations: 165.3 kB / 416.9 MB, free: 18.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.21, allocations: 4.234 kB / 416.9 MB, free: 18.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003167/0.2104, allocations: 237.9 kB / 417.1 MB, free: 17.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.423e-06/0.2104, allocations: 0 / 417.1 MB, free: 17.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.001279/0.2117, allocations: 0.601 MB / 417.7 MB, free: 17.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.2117, allocations: 110.8 kB / 417.8 MB, free: 17.19 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.2119, allocations: 296.6 kB / 418.1 MB, free: 16.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.212, allocations: 41.62 kB / 418.2 MB, free: 16.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.718e-05/0.2121, allocations: 220.2 kB / 418.4 MB, free: 16.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.95e-05/0.2121, allocations: 106.5 kB / 418.5 MB, free: 16.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/0.2122, allocations: 8 kB / 418.5 MB, free: 16.51 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.987e-05/0.2122, allocations: 346.8 kB / 418.8 MB, free: 16.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.2124, allocations: 92.7 kB / 418.9 MB, free: 16.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.2126, allocations: 227.8 kB / 419.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.2128, allocations: 125.4 kB / 419.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2128, allocations: 0 / 419.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005521/0.2134, allocations: 425.6 kB / 419.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2134, allocations: 8 kB / 419.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2134, allocations: 4 kB / 419.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002706/0.2137, allocations: 80.8 kB / 419.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.2139, allocations: 64.12 kB / 419.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.2152, allocations: 1.792 MB / 421.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.2155, allocations: 39.64 kB / 421.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.2155, allocations: 20 kB / 421.7 MB, free: 13.11 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: 11 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.2156, allocations: 174.3 kB / 421.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.2157, allocations: 31.62 kB / 421.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.037e-05/0.2158, allocations: 39.86 kB / 421.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2158, allocations: 4 kB / 421.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.2158, allocations: 0 / 421.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2158, allocations: 4 kB / 421.9 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004423/0.2162, allocations: 0.5809 MB / 422.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2162, allocations: 0 / 422.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.2164, allocations: 36 kB / 422.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000192/0.2166, allocations: 76.75 kB / 422.6 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.2166, allocations: 8.047 kB / 422.6 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.2178, allocations: 1.802 MB / 424.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2178, allocations: 0 / 424.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007455/0.2186, allocations: 0.5032 MB / 424.9 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.138e-05/0.2187, allocations: 136.7 kB / 425.1 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.2187, allocations: 8 kB / 425.1 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.2189, allocations: 19.98 kB / 425.1 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-05/0.219, allocations: 27.84 kB / 425.1 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.219, allocations: 15.94 kB / 425.1 MB, free: 9.406 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001468/0.2192, allocations: 215.1 kB / 425.3 MB, free: 9.199 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2192, allocations: 4 kB / 425.3 MB, free: 9.195 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003978/0.2196, allocations: 111.8 kB / 425.5 MB, free: 9.086 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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001241/0.2197, allocations: 114 kB / 425.6 MB, free: 8.965 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000603/0.2203, allocations: 427.3 kB / 426 MB, free: 8.535 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.2203, allocations: 3.984 kB / 426 MB, free: 8.531 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003629/0.2207, allocations: 283.6 kB / 426.3 MB, free: 8.242 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.221, allocations: 57 kB / 426.3 MB, free: 8.188 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000943/0.222, allocations: 0.9084 MB / 427.2 MB, free: 7.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.2221, allocations: 0.8188 MB / 428 MB, free: 6.406 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/0.2222, allocations: 23.44 kB / 428.1 MB, free: 6.383 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2222, allocations: 0 / 428.1 MB, free: 6.383 MB / 298.7 MB Notification: Performance of Templates: time 0.00562/0.2278, allocations: 5.994 MB / 434.1 MB, free: 428 kB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches