Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000995/0.000995, allocations: 80.62 kB / 22.21 MB, free: 2.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 147.7 kB / 25.6 MB, free: 8.613 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9434/0.9434, allocations: 173.4 MB / 202.3 MB, free: 8.301 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 269.2 MB, free: 9.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.551e-05, allocations: 2.312 kB / 269.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005006/0.005022, allocations: 4.431 MB / 273.7 MB, free: 5.316 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.007112, allocations: 1.215 MB / 274.9 MB, free: 4.105 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003315/0.007444, allocations: 34.81 kB / 274.9 MB, free: 4.074 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.007795, allocations: 174.6 kB / 275.1 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008628/0.008658, allocations: 375.1 kB / 275.4 MB, free: 3.535 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.009033, allocations: 204.5 kB / 275.6 MB, free: 3.336 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001539/0.01057, allocations: 1.653 MB / 277.3 MB, free: 1.676 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007653/0.01134, allocations: 0.5681 MB / 277.9 MB, free: 1.07 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.01249, allocations: 1.017 MB / 278.9 MB, free: 52 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.01358, allocations: 0.8418 MB / 279.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002199/0.0138, allocations: 176 kB / 279.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002311/0.01403, allocations: 176 kB / 280.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003852/0.01441, allocations: 0.4946 MB / 280.6 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005771/0.01499, allocations: 0.5456 MB / 281.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.01615, allocations: 1.324 MB / 282.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.01616, allocations: 0 / 282.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01616, allocations: 4 kB / 282.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.01617, allocations: 0 / 282.4 MB, free: 12.49 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003065/0.01924, allocations: 2.266 MB / 284.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.01927, allocations: 12.02 kB / 284.7 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003338/0.01961, allocations: 244 kB / 284.9 MB, free: 9.914 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.02064, allocations: 0.7758 MB / 285.7 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.461e-05/0.0207, allocations: 82.42 kB / 285.8 MB, free: 9.023 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.02086, allocations: 100.4 kB / 285.9 MB, free: 8.926 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.02219, allocations: 0.848 MB / 286.8 MB, free: 8.004 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.02222, allocations: 7.875 kB / 286.8 MB, free: 7.996 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.02233, allocations: 40 kB / 286.8 MB, free: 7.957 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.812e-05/0.02239, allocations: 50.02 kB / 286.8 MB, free: 7.906 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005/0.02289, allocations: 302 kB / 287.1 MB, free: 7.598 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003848/0.02673, allocations: 3.864 MB / 291 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/0.0273, allocations: 485.6 kB / 291.5 MB, free: 3.086 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004026/0.0277, allocations: 326.9 kB / 291.8 MB, free: 2.762 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.02773, allocations: 12.66 kB / 291.8 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000358/0.02809, allocations: 344.2 kB / 292.1 MB, free: 2.391 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 1.753e-06/0.02809, allocations: 0 / 292.1 MB, free: 2.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.002063/0.03016, allocations: 1.067 MB / 293.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.03019, allocations: 97.7 kB / 293.3 MB, free: 1.195 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005085/0.0307, allocations: 0.7529 MB / 294.1 MB, free: 432 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.03074, allocations: 41.7 kB / 294.1 MB, free: 384 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/0.03104, allocations: 0.6088 MB / 294.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.03117, allocations: 253.9 kB / 295 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.03131, allocations: 140.3 kB / 295.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.03143, allocations: 0.5121 MB / 295.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.03155, allocations: 81.94 kB / 295.7 MB, free: 14.76 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.03177, allocations: 310.6 kB / 296 MB, free: 14.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.03213, allocations: 403.5 kB / 296.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.03213, allocations: 4 kB / 296.4 MB, free: 13.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006138/0.03274, allocations: 0.5554 MB / 296.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.03276, allocations: 12.09 kB / 297 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.03277, allocations: 4 kB / 297 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003403/0.03311, allocations: 182.1 kB / 297.1 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.03335, allocations: 107.8 kB / 297.2 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/0.03547, allocations: 3.088 MB / 300.3 MB, free: 9.836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.03569, allocations: 63.55 kB / 300.4 MB, free: 9.773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.03572, allocations: 24 kB / 300.4 MB, free: 9.75 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (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.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0002033/0.03592, allocations: 202.5 kB / 300.6 MB, free: 9.539 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.984e-05/0.03602, allocations: 115.4 kB / 300.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.03614, allocations: 116.2 kB / 300.8 MB, free: 9.309 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.03614, allocations: 4 kB / 300.8 MB, free: 9.305 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.03614, allocations: 0 / 300.8 MB, free: 9.305 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.03615, allocations: 15.91 kB / 300.9 MB, free: 9.289 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.03754, allocations: 1.301 MB / 302.2 MB, free: 7.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.03754, allocations: 0 / 302.2 MB, free: 7.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.0378, allocations: 83.88 kB / 302.2 MB, free: 7.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003267/0.03813, allocations: 167.5 kB / 302.4 MB, free: 7.703 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.03816, allocations: 15.98 kB / 302.4 MB, free: 7.688 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.0402, allocations: 3.049 MB / 305.5 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.0402, allocations: 0 / 305.5 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000801/0.041, allocations: 0.7645 MB / 306.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.04121, allocations: 179.2 kB / 306.4 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.439e-05/0.04127, allocations: 12 kB / 306.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.04146, allocations: 28.05 kB / 306.5 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.782e-05/0.04156, allocations: 68.53 kB / 306.5 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.04158, allocations: 23.92 kB / 306.5 MB, free: 3.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002949/0.04188, allocations: 454.8 kB / 307 MB, free: 2.992 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04188, allocations: 0 / 307 MB, free: 2.992 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005079/0.04239, allocations: 355.2 kB / 307.3 MB, free: 2.645 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * 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 (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001073/0.04249, allocations: 125.3 kB / 307.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007055/0.0432, allocations: 0.7018 MB / 308.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.0432, allocations: 0 / 308.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004575/0.04366, allocations: 0.561 MB / 308.7 MB, free: 1.211 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005453/0.0442, allocations: 246.7 kB / 309 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.04669, allocations: 2.236 MB / 311.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.04695, allocations: 399.7 kB / 311.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001958/0.04714, allocations: 95.12 kB / 311.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003572/0.0475, allocations: 286 kB / 312 MB, free: 13.91 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.0475, allocations: 0 / 312 MB, free: 13.91 MB / 298.7 MB Notification: Performance of Templates: time 0.0203/0.06781, allocations: 18.73 MB / 330.7 MB, free: 11.45 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.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: 3.1814441508613527]