Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 75.77 kB / 22.45 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 168.7 kB / 25.75 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9561/0.9561, allocations: 158.6 MB / 187.6 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.957e-05, allocations: 6.109 kB / 251.1 MB, free: 7.785 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003359/0.003379, allocations: 3.387 MB / 254.5 MB, free: 4.371 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.004552, allocations: 0.8732 MB / 255.4 MB, free: 3.488 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.004724, allocations: 7.938 kB / 255.4 MB, free: 3.48 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.004912, allocations: 71.3 kB / 255.5 MB, free: 3.41 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.005161, allocations: 126.8 kB / 255.6 MB, free: 3.285 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.00545, allocations: 151.6 kB / 255.7 MB, free: 3.137 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004556/0.005905, allocations: 0.5249 MB / 256.3 MB, free: 2.609 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.006122, allocations: 114.4 kB / 256.4 MB, free: 2.496 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002818/0.006404, allocations: 291.3 kB / 256.7 MB, free: 2.211 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.00661, allocations: 159.5 kB / 256.8 MB, free: 2.055 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.677e-05/0.006667, allocations: 48 kB / 256.9 MB, free: 2.008 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.595e-05/0.006713, allocations: 44 kB / 256.9 MB, free: 1.965 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.002e-05/0.006793, allocations: 103.6 kB / 257 MB, free: 1.863 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.006922, allocations: 159.6 kB / 257.2 MB, free: 1.707 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.007242, allocations: 338.7 kB / 257.5 MB, free: 1.375 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.007248, allocations: 7.984 kB / 257.5 MB, free: 1.367 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007249, allocations: 0 / 257.5 MB, free: 1.367 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.007254, allocations: 0 / 257.5 MB, free: 1.367 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009874/0.008241, allocations: 0.8548 MB / 258.4 MB, free: 472 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.008282, allocations: 15.98 kB / 258.4 MB, free: 456 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.957e-05/0.008381, allocations: 80.64 kB / 258.5 MB, free: 376 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.008699, allocations: 285.3 kB / 258.7 MB, free: 64 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.008721, allocations: 25.38 kB / 258.8 MB, free: 36 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.043e-05/0.008781, allocations: 44.36 kB / 258.8 MB, free: 15.99 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.009199, allocations: 337.5 kB / 259.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.009214, allocations: 192 / 259.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.009242, allocations: 28.11 kB / 259.2 MB, free: 15.61 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.009255, allocations: 8 kB / 259.2 MB, free: 15.6 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.009469, allocations: 127.8 kB / 259.3 MB, free: 15.48 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.01078, allocations: 1.426 MB / 260.7 MB, free: 13.97 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.01103, allocations: 183.8 kB / 260.9 MB, free: 13.78 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.01122, allocations: 116.1 kB / 261 MB, free: 13.66 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.01125, allocations: 4.234 kB / 261 MB, free: 13.66 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/0.01149, allocations: 221.8 kB / 261.2 MB, free: 13.41 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.313e-06/0.01149, allocations: 0 / 261.2 MB, free: 13.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008491/0.01234, allocations: 396.9 kB / 261.6 MB, free: 13.01 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.01239, allocations: 110.8 kB / 261.7 MB, free: 12.88 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.01261, allocations: 322.3 kB / 262 MB, free: 12.54 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.01264, allocations: 33.7 kB / 262.1 MB, free: 12.5 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.01277, allocations: 263.4 kB / 262.3 MB, free: 12.24 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.192e-05/0.01283, allocations: 103.1 kB / 262.4 MB, free: 12.14 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.061e-05/0.01291, allocations: 75.72 kB / 262.5 MB, free: 12.05 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.01305, allocations: 0.5156 MB / 263 MB, free: 11.53 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.867e-05/0.01313, allocations: 44.72 kB / 263.1 MB, free: 11.48 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.0133, allocations: 257.2 kB / 263.3 MB, free: 11.15 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.01355, allocations: 294.2 kB / 263.6 MB, free: 10.79 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.01356, allocations: 0 / 263.6 MB, free: 10.79 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000382/0.01394, allocations: 336.7 kB / 263.9 MB, free: 10.45 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.01395, allocations: 8 kB / 263.9 MB, free: 10.44 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.01396, allocations: 4 kB / 263.9 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002007/0.01416, allocations: 67.52 kB / 264 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.0143, allocations: 59.91 kB / 264.1 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.01566, allocations: 2.271 MB / 266.3 MB, free: 7.906 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.01578, allocations: 35.72 kB / 266.4 MB, free: 7.871 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.0158, allocations: 16 kB / 266.4 MB, free: 7.855 MB / 250.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 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0001401/0.01594, allocations: 192.5 kB / 266.6 MB, free: 7.656 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.01599, allocations: 43.77 kB / 266.6 MB, free: 7.613 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.638e-05/0.01603, allocations: 43.11 kB / 266.7 MB, free: 7.57 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01604, allocations: 4 kB / 266.7 MB, free: 7.566 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01604, allocations: 0 / 266.7 MB, free: 7.566 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.01604, allocations: 0 / 266.7 MB, free: 7.566 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/0.01645, allocations: 0.4891 MB / 267.2 MB, free: 7.031 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01645, allocations: 3.938 kB / 267.2 MB, free: 7.027 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.146e-05/0.01654, allocations: 23.98 kB / 267.2 MB, free: 7.004 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001405/0.01668, allocations: 71.61 kB / 267.3 MB, free: 6.93 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.0167, allocations: 7.984 kB / 267.3 MB, free: 6.922 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001246/0.01795, allocations: 2.263 MB / 269.5 MB, free: 4.539 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01795, allocations: 4 kB / 269.5 MB, free: 4.535 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.01841, allocations: 371.8 kB / 269.9 MB, free: 4.141 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-05/0.01849, allocations: 55.7 kB / 269.9 MB, free: 4.086 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.01852, allocations: 8 kB / 269.9 MB, free: 4.078 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.0186, allocations: 12 kB / 270 MB, free: 4.066 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.01867, allocations: 27.94 kB / 270 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.01868, allocations: 12 kB / 270 MB, free: 4.027 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001344/0.01882, allocations: 227 kB / 270.2 MB, free: 3.809 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01882, allocations: 0 / 270.2 MB, free: 3.809 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003077/0.01913, allocations: 111.7 kB / 270.3 MB, free: 3.699 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y,rootMeanSquareVoltage.mean.y,meanVoltage.y,rectifier.diode_n.off,rectifier.diode_p.off) * 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.0001088/0.01923, allocations: 111.2 kB / 270.4 MB, free: 3.582 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004723/0.01971, allocations: 393.1 kB / 270.8 MB, free: 3.18 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.01971, allocations: 4 kB / 270.8 MB, free: 3.176 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.01994, allocations: 306.6 kB / 271.1 MB, free: 2.855 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.02019, allocations: 64.95 kB / 271.2 MB, free: 2.789 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.02126, allocations: 0.6778 MB / 271.9 MB, free: 2.066 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.695e-05/0.02133, allocations: 104.5 kB / 272 MB, free: 1.945 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.803e-05/0.02141, allocations: 30.97 kB / 272 MB, free: 1.918 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.945e-05/0.02146, allocations: 24.5 kB / 272 MB, free: 1.895 MB / 250.7 MB Notification: Performance of SimCode: time 1.172e-06/0.02146, allocations: 0 / 272 MB, free: 1.895 MB / 250.7 MB Notification: Performance of Templates: time 0.00695/0.02841, allocations: 4.554 MB / 276.6 MB, free: 13.39 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9292427750770003]