Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001415, allocations: 196.3 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008247/0.0008247, allocations: 95.38 kB / 299.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002091/0.0002091, allocations: 8 kB / 360.7 MB, free: 8.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2046, allocations: 51.41 MB / 412.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.002756/0.2074, allocations: 2.99 MB / 415.1 MB, free: 22.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.2085, allocations: 1.071 MB / 416.1 MB, free: 21.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.2086, allocations: 15.88 kB / 416.1 MB, free: 21.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.2088, allocations: 47.61 kB / 416.2 MB, free: 21.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.209, allocations: 109.8 kB / 416.3 MB, free: 21.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.2093, allocations: 119.9 kB / 416.4 MB, free: 21.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00032/0.2096, allocations: 497.9 kB / 416.9 MB, free: 21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.2098, allocations: 158.9 kB / 417.1 MB, free: 20.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.21, allocations: 175.2 kB / 417.2 MB, free: 20.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.2103, allocations: 187 kB / 417.4 MB, free: 20.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.927e-05/0.2103, allocations: 20 kB / 417.4 MB, free: 20.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.266e-05/0.2104, allocations: 28 kB / 417.5 MB, free: 20.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.2105, allocations: 79.62 kB / 417.5 MB, free: 20.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.2106, allocations: 232.5 kB / 417.8 MB, free: 20.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.211, allocations: 498 kB / 418.3 MB, free: 19.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.211, allocations: 0 / 418.3 MB, free: 19.63 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.211, allocations: 3.938 kB / 418.3 MB, free: 19.63 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.211, allocations: 0 / 418.3 MB, free: 19.63 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.0009087/0.2119, allocations: 0.6638 MB / 418.9 MB, free: 18.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.212, allocations: 12.03 kB / 418.9 MB, free: 18.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002337/0.2122, allocations: 68.36 kB / 419 MB, free: 18.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.2125, allocations: 344.3 kB / 419.3 MB, free: 18.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.2125, allocations: 29.38 kB / 419.4 MB, free: 18.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.146e-05/0.2126, allocations: 36.38 kB / 419.4 MB, free: 18.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000524/0.2131, allocations: 392 kB / 419.8 MB, free: 18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.2132, allocations: 4 kB / 419.8 MB, free: 17.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.2132, allocations: 23.98 kB / 419.8 MB, free: 17.97 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.2132, allocations: 8 kB / 419.8 MB, free: 17.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/0.2136, allocations: 267.8 kB / 420.1 MB, free: 17.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.2153, allocations: 1.523 MB / 421.6 MB, free: 16.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.2157, allocations: 239.4 kB / 421.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.216, allocations: 174.6 kB / 422 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.216, allocations: 4.234 kB / 422 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003301/0.2164, allocations: 226.1 kB / 422.2 MB, free: 15.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.853e-06/0.2164, allocations: 0 / 422.2 MB, free: 15.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.001281/0.2176, allocations: 0.5936 MB / 422.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.2177, allocations: 114.8 kB / 422.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.2179, allocations: 308.3 kB / 423.2 MB, free: 14.35 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.218, allocations: 37.64 kB / 423.3 MB, free: 14.31 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.582e-05/0.2181, allocations: 220.3 kB / 423.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.166e-05/0.2181, allocations: 94.64 kB / 423.6 MB, free: 14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.516e-05/0.2181, allocations: 8 kB / 423.6 MB, free: 13.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.679e-05/0.2182, allocations: 346.7 kB / 423.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.2184, allocations: 100.7 kB / 424 MB, free: 13.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.2186, allocations: 221.5 kB / 424.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.219, allocations: 333.5 kB / 424.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.219, allocations: 4 kB / 424.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005963/0.2196, allocations: 428.5 kB / 425 MB, free: 12.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.2196, allocations: 7.984 kB / 425 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2197, allocations: 4 kB / 425 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002843/0.22, allocations: 80.81 kB / 425.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.2202, allocations: 55.91 kB / 425.1 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.2215, allocations: 1.811 MB / 426.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.2217, allocations: 31.75 kB / 427 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.2218, allocations: 19.98 kB / 427 MB, free: 10.31 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 (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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001402/0.2219, allocations: 172.9 kB / 427.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.222, allocations: 39.47 kB / 427.2 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.62e-05/0.222, allocations: 43.92 kB / 427.2 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.222, allocations: 4 kB / 427.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.222, allocations: 0 / 427.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.222, allocations: 3.984 kB / 427.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.2225, allocations: 0.5692 MB / 427.8 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2225, allocations: 0 / 427.8 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.2227, allocations: 31.97 kB / 427.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000189/0.2229, allocations: 88.91 kB / 427.9 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.2229, allocations: 4 kB / 427.9 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.2242, allocations: 1.796 MB / 429.7 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2242, allocations: 0 / 429.7 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007315/0.2249, allocations: 0.5028 MB / 430.2 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.141e-05/0.225, allocations: 128.6 kB / 430.4 MB, free: 6.691 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.2251, allocations: 11.94 kB / 430.4 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.2252, allocations: 19.98 kB / 430.4 MB, free: 6.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.2253, allocations: 35.83 kB / 430.4 MB, free: 6.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.2253, allocations: 12 kB / 430.4 MB, free: 6.613 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001603/0.2255, allocations: 215.1 kB / 430.7 MB, free: 6.406 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2255, allocations: 0 / 430.7 MB, free: 6.406 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003937/0.2259, allocations: 111.7 kB / 430.8 MB, free: 6.297 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 (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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001184/0.226, allocations: 127.3 kB / 430.9 MB, free: 6.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006188/0.2266, allocations: 425.5 kB / 431.3 MB, free: 5.734 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2267, allocations: 0 / 431.3 MB, free: 5.734 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003104/0.227, allocations: 287.1 kB / 431.6 MB, free: 5.441 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.2273, allocations: 57.19 kB / 431.6 MB, free: 5.387 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.2284, allocations: 0.9173 MB / 432.6 MB, free: 4.449 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.2286, allocations: 0.8029 MB / 433.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.2287, allocations: 39.05 kB / 433.4 MB, free: 3.578 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.2288, allocations: 23.44 kB / 433.4 MB, free: 3.555 MB / 298.7 MB Notification: Performance of SimCode: time 4.7e-07/0.2288, allocations: 0 / 433.4 MB, free: 3.555 MB / 298.7 MB Notification: Performance of Templates: time 0.007263/0.236, allocations: 4.445 MB / 437.9 MB, free: 15.13 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches