Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.0009028/0.0009028, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009515/0.0009515, allocations: 168.7 kB / 24.91 MB, free: 9.191 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.9248/0.9248, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 273.5 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.764e-05, allocations: 2.312 kB / 273.5 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003506/0.003524, allocations: 3.66 MB / 277.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.005006, allocations: 1.098 MB / 278.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.005183, allocations: 27.81 kB / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.0054, allocations: 103.1 kB / 278.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000581/0.005981, allocations: 262.2 kB / 278.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.006225, allocations: 167.6 kB / 278.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000836/0.007061, allocations: 0.9998 MB / 279.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003513/0.007412, allocations: 351.4 kB / 280.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004966/0.007909, allocations: 0.6042 MB / 280.7 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004423/0.008351, allocations: 486.8 kB / 281.2 MB, free: 9.492 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.824e-05/0.008439, allocations: 100 kB / 281.3 MB, free: 9.395 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.00856, allocations: 104 kB / 281.4 MB, free: 9.293 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.008733, allocations: 295.1 kB / 281.7 MB, free: 9.004 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.008957, allocations: 331.3 kB / 282 MB, free: 8.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005919/0.009549, allocations: 0.7865 MB / 282.8 MB, free: 7.891 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.009553, allocations: 4 kB / 282.8 MB, free: 7.887 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.009554, allocations: 0 / 282.8 MB, free: 7.887 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.009561, allocations: 0 / 282.8 MB, free: 7.887 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001079/0.01064, allocations: 1.049 MB / 283.8 MB, free: 6.812 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.01067, allocations: 15.97 kB / 283.9 MB, free: 6.797 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.01092, allocations: 136.8 kB / 284 MB, free: 6.664 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.01137, allocations: 417.4 kB / 284.4 MB, free: 6.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.01141, allocations: 53.69 kB / 284.5 MB, free: 6.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.355e-05/0.01148, allocations: 68.38 kB / 284.5 MB, free: 6.113 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005402/0.01202, allocations: 0.5373 MB / 285.1 MB, free: 5.543 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.01204, allocations: 8 kB / 285.1 MB, free: 5.535 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.01208, allocations: 31.92 kB / 285.1 MB, free: 5.504 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.75e-05/0.01212, allocations: 33.3 kB / 285.1 MB, free: 5.469 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002476/0.01237, allocations: 161 kB / 285.3 MB, free: 5.312 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.01414, allocations: 1.724 MB / 287 MB, free: 3.516 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.0144, allocations: 227.4 kB / 287.2 MB, free: 3.285 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.01455, allocations: 122.2 kB / 287.4 MB, free: 3.164 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.01457, allocations: 8.328 kB / 287.4 MB, free: 3.156 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.0148, allocations: 239.6 kB / 287.6 MB, free: 2.895 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.803e-06/0.0148, allocations: 0 / 287.6 MB, free: 2.895 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009275/0.01573, allocations: 473.6 kB / 288.1 MB, free: 2.422 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.01577, allocations: 114.8 kB / 288.2 MB, free: 2.285 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.01603, allocations: 407.3 kB / 288.6 MB, free: 1.875 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.01606, allocations: 41.73 kB / 288.6 MB, free: 1.828 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.01618, allocations: 309.8 kB / 288.9 MB, free: 1.523 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.906e-05/0.01626, allocations: 142.8 kB / 289 MB, free: 1.383 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.982e-05/0.01635, allocations: 86.14 kB / 289.1 MB, free: 1.293 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.218e-05/0.01644, allocations: 370.6 kB / 289.5 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.538e-05/0.01651, allocations: 44.97 kB / 289.5 MB, free: 0.875 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.01664, allocations: 206.9 kB / 289.7 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.01686, allocations: 271.1 kB / 290 MB, free: 296 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01686, allocations: 4 kB / 290 MB, free: 292 kB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0936/0.1105, allocations: 301.7 kB / 290.3 MB, free: 24.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.1105, allocations: 7.969 kB / 290.3 MB, free: 24.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.1105, allocations: 6.969 kB / 290.3 MB, free: 24.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003043/0.1108, allocations: 96.77 kB / 290.4 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.111, allocations: 70.59 kB / 290.5 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.1123, allocations: 1.885 MB / 292.4 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.1126, allocations: 44.5 kB / 292.4 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.1126, allocations: 17.97 kB / 292.4 MB, free: 23.55 MB / 266.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: 12 (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.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {(3,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001848/0.1128, allocations: 142 kB / 292.6 MB, free: 23.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.929e-05/0.1128, allocations: 53.98 kB / 292.6 MB, free: 23.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.47e-05/0.1129, allocations: 65.75 kB / 292.7 MB, free: 23.42 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1129, allocations: 5.875 kB / 292.7 MB, free: 23.42 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1129, allocations: 0 / 292.7 MB, free: 23.42 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1129, allocations: 10.3 kB / 292.7 MB, free: 23.42 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000924/0.1138, allocations: 0.7771 MB / 293.5 MB, free: 23.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1138, allocations: 0 / 293.5 MB, free: 23.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.114, allocations: 38.34 kB / 293.5 MB, free: 23.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001882/0.1142, allocations: 89.61 kB / 293.6 MB, free: 23.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.1142, allocations: 16.86 kB / 293.6 MB, free: 23.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.1152, allocations: 1.817 MB / 295.4 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1152, allocations: 4.844 kB / 295.4 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004949/0.1157, allocations: 458.7 kB / 295.9 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.1158, allocations: 79.8 kB / 296 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.768e-05/0.1158, allocations: 14.06 kB / 296 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.116, allocations: 15.84 kB / 296 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/0.116, allocations: 36.06 kB / 296 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1161, allocations: 12.39 kB / 296 MB, free: 21.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001826/0.1162, allocations: 184.1 kB / 296.2 MB, free: 21.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1162, allocations: 0 / 296.2 MB, free: 21.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004686/0.1167, allocations: 208.5 kB / 296.4 MB, free: 21.59 MB / 266.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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001241/0.1168, allocations: 103.2 kB / 296.5 MB, free: 21.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004771/0.1173, allocations: 402.7 kB / 296.9 MB, free: 21.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.1173, allocations: 5.75 kB / 296.9 MB, free: 21.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002467/0.1176, allocations: 301.5 kB / 297.2 MB, free: 21.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.1179, allocations: 146.2 kB / 297.4 MB, free: 21.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.1197, allocations: 1.351 MB / 298.7 MB, free: 20.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.1199, allocations: 205.8 kB / 298.9 MB, free: 20.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001512/0.1201, allocations: 57.97 kB / 299 MB, free: 20.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/0.1203, allocations: 177 kB / 299.1 MB, free: 20.53 MB / 266.7 MB Notification: Performance of SimCode: time 9.61e-07/0.1203, allocations: 0 / 299.1 MB, free: 20.53 MB / 266.7 MB Notification: Performance of Templates: time 0.01216/0.1325, allocations: 10.28 MB / 309.4 MB, free: 16.06 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.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.6636698697693646]