Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009195/0.0009195, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004382/0.004382, allocations: 160.4 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.836/0.836, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.35e-05/1.464e-05, allocations: 2.281 kB / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.002773/0.002788, allocations: 3.234 MB / 329.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.003955, allocations: 0.9035 MB / 330 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.004108, allocations: 7.938 kB / 330 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.004253, allocations: 71.3 kB / 330.1 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.004479, allocations: 142.7 kB / 330.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.004764, allocations: 151.7 kB / 330.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004585/0.005222, allocations: 0.5488 MB / 330.9 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.005404, allocations: 122.3 kB / 331 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.005687, allocations: 307.2 kB / 331.3 MB, free: 9.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.005857, allocations: 163.5 kB / 331.5 MB, free: 9.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.005899, allocations: 48 kB / 331.5 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.197e-05/0.005961, allocations: 48 kB / 331.6 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.554e-05/0.006027, allocations: 107.6 kB / 331.7 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.006128, allocations: 159.5 kB / 331.8 MB, free: 9.395 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.006505, allocations: 0.5529 MB / 332.4 MB, free: 8.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.006506, allocations: 0 / 332.4 MB, free: 8.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006507, allocations: 0 / 332.4 MB, free: 8.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.006513, allocations: 0 / 332.4 MB, free: 8.84 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.0009621/0.007475, allocations: 0.7853 MB / 333.2 MB, free: 8.012 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.007505, allocations: 8.031 kB / 333.2 MB, free: 8.004 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.007661, allocations: 68.62 kB / 333.3 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.007961, allocations: 298.5 kB / 333.5 MB, free: 7.617 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.007979, allocations: 25.38 kB / 333.6 MB, free: 7.594 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.00802, allocations: 44.38 kB / 333.6 MB, free: 7.551 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004174/0.008437, allocations: 422.1 kB / 334 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.008451, allocations: 192 / 334 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.008475, allocations: 16.12 kB / 334 MB, free: 7.102 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.008481, allocations: 8 kB / 334.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003047/0.008786, allocations: 267.8 kB / 334.3 MB, free: 6.832 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.009945, allocations: 1.291 MB / 335.6 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.01021, allocations: 219.4 kB / 335.8 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.01043, allocations: 160.9 kB / 336 MB, free: 5.086 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.01045, allocations: 4.234 kB / 336 MB, free: 5.082 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004982/0.01095, allocations: 247.8 kB / 336.2 MB, free: 4.812 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.242e-06/0.01095, allocations: 3.938 kB / 336.2 MB, free: 4.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008262/0.01178, allocations: 0.5026 MB / 336.7 MB, free: 4.297 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.01182, allocations: 114.8 kB / 336.8 MB, free: 4.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.01203, allocations: 304.5 kB / 337.1 MB, free: 3.855 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.01205, allocations: 37.64 kB / 337.2 MB, free: 3.812 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.01215, allocations: 224.7 kB / 337.4 MB, free: 3.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.197e-05/0.0122, allocations: 103.1 kB / 337.5 MB, free: 3.488 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.618e-05/0.01227, allocations: 74.09 kB / 337.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.988e-05/0.01235, allocations: 342.8 kB / 337.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.01246, allocations: 88.72 kB / 338 MB, free: 2.977 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.01263, allocations: 247.2 kB / 338.2 MB, free: 2.672 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.01291, allocations: 327.1 kB / 338.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.01291, allocations: 4 kB / 338.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004076/0.01332, allocations: 402.2 kB / 338.9 MB, free: 1.895 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.01334, allocations: 19.91 kB / 339 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.01334, allocations: 4 kB / 339 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001893/0.01353, allocations: 80.81 kB / 339 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.01365, allocations: 55.95 kB / 339.1 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.0148, allocations: 1.868 MB / 341 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.01491, allocations: 35.78 kB / 341 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.01493, allocations: 16 kB / 341 MB, free: 15.71 MB / 314.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_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_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.0001195/0.01505, allocations: 166.5 kB / 341.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.01508, allocations: 31.81 kB / 341.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.143e-05/0.01512, allocations: 43.8 kB / 341.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01512, allocations: 4 kB / 341.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.01513, allocations: 8 kB / 341.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.01513, allocations: 3.984 kB / 341.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.01547, allocations: 466.7 kB / 341.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01547, allocations: 3.938 kB / 341.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.831e-05/0.01556, allocations: 27.98 kB / 341.8 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001318/0.01569, allocations: 76.75 kB / 341.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.01571, allocations: 15.92 kB / 341.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.01698, allocations: 1.845 MB / 343.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01698, allocations: 0 / 343.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005332/0.01751, allocations: 0.5066 MB / 344.2 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.212e-05/0.01758, allocations: 55.77 kB / 344.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.01761, allocations: 15.98 kB / 344.3 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.578e-05/0.01768, allocations: 8 kB / 344.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.01774, allocations: 31.94 kB / 344.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.01775, allocations: 4 kB / 344.3 MB, free: 12.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001308/0.01788, allocations: 215.1 kB / 344.5 MB, free: 12.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01788, allocations: 0 / 344.5 MB, free: 12.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002784/0.01816, allocations: 123.7 kB / 344.6 MB, free: 11.9 MB / 314.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_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,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 9.218e-05/0.01825, allocations: 119.2 kB / 344.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004416/0.01869, allocations: 403.2 kB / 345.2 MB, free: 11.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.0187, allocations: 256 / 345.2 MB, free: 11.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.01892, allocations: 278.3 kB / 345.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.01912, allocations: 62.77 kB / 345.5 MB, free: 11.03 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007741/0.01989, allocations: 0.7139 MB / 346.2 MB, free: 10.28 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.02001, allocations: 207 kB / 346.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.132e-05/0.02006, allocations: 32.48 kB / 346.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02006, allocations: 0 / 346.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of Templates: time 0.005074/0.02513, allocations: 6.233 MB / 352.7 MB, free: 3.809 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.405123369768262]