Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.001945/0.001945, allocations: 84.91 kB / 21.99 MB, free: 4.754 MB / 14.72 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.002088/0.002088, allocations: 153.8 kB / 25.25 MB, free: 2.742 MB / 14.72 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 1.394/1.394, allocations: 158.6 MB / 187 MB, free: 6.238 MB / 174.1 MB " [Timeout remaining time 178] 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.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 51.92 kB / 299.4 MB, free: 6.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2128, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006149/0.219, allocations: 4.252 MB / 352.8 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002581/0.2216, allocations: 1.313 MB / 354.1 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002931/0.2219, allocations: 27.75 kB / 354.1 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000645/0.2225, allocations: 226.4 kB / 354.3 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008209/0.2233, allocations: 366 kB / 354.7 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.2237, allocations: 219.6 kB / 354.9 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001657/0.2254, allocations: 1.541 MB / 356.4 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007602/0.2262, allocations: 0.508 MB / 357 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007703/0.2269, allocations: 0.6464 MB / 357.6 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.228, allocations: 0.7705 MB / 358.4 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002224/0.2282, allocations: 160 kB / 358.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.2285, allocations: 164 kB / 358.7 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004373/0.2289, allocations: 450.7 kB / 359.1 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006514/0.2296, allocations: 0.5718 MB / 359.7 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.2316, allocations: 2.105 MB / 361.8 MB, free: 2.184 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2316, allocations: 0 / 361.8 MB, free: 2.184 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2316, allocations: 3.938 kB / 361.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.2317, allocations: 0 / 361.8 MB, free: 2.18 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003188/0.2349, allocations: 1.865 MB / 363.7 MB, free: 280 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.2349, allocations: 11.98 kB / 363.7 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002256/0.2351, allocations: 144 kB / 363.8 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.2365, allocations: 0.8268 MB / 364.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.042e-05/0.2366, allocations: 66.38 kB / 364.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.2367, allocations: 100.1 kB / 364.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.239, allocations: 1.485 MB / 366.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.239, allocations: 3.953 kB / 366.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.2391, allocations: 39.98 kB / 366.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.486e-05/0.2392, allocations: 49.92 kB / 366.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002141/0.2413, allocations: 1.284 MB / 367.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005807/0.2471, allocations: 3.753 MB / 371.4 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.2488, allocations: 0.9928 MB / 372.4 MB, free: 7.363 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.25, allocations: 0.6888 MB / 373.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.871e-05/0.2501, allocations: 8.656 kB / 373.1 MB, free: 6.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009786/0.251, allocations: 0.6478 MB / 373.8 MB, free: 5.984 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 2.164e-06/0.251, allocations: 0 / 373.8 MB, free: 5.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.007226/0.2583, allocations: 2.63 MB / 376.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.231e-05/0.2584, allocations: 119.5 kB / 376.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.2594, allocations: 0.7855 MB / 377.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.676e-05/0.2595, allocations: 37.7 kB / 377.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004376/0.2599, allocations: 488.7 kB / 377.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.2601, allocations: 253.9 kB / 378.1 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.2603, allocations: 138.6 kB / 378.2 MB, free: 1.496 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002221/0.2606, allocations: 394.7 kB / 378.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006749/0.2612, allocations: 393.7 kB / 379 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008357/0.2621, allocations: 0.5996 MB / 379.6 MB, free: 40 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.2635, allocations: 0.921 MB / 380.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.2635, allocations: 3.938 kB / 380.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002142/0.2657, allocations: 1.282 MB / 381.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.2657, allocations: 7.984 kB / 381.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.2657, allocations: 4 kB / 381.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.2668, allocations: 476.6 kB / 382.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.2672, allocations: 99.75 kB / 382.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007506/0.2747, allocations: 5.352 MB / 387.7 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005096/0.2752, allocations: 83.64 kB / 387.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/0.2752, allocations: 27.94 kB / 387.8 MB, free: 7.629 MB / 350.1 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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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 (55): * Single equations (assignments): 54 * 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,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0006971/0.2759, allocations: 467.6 kB / 388.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.2761, allocations: 91.42 kB / 388.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.2763, allocations: 112.2 kB / 388.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.2763, allocations: 8 kB / 388.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2763, allocations: 0 / 388.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.2763, allocations: 7.984 kB / 388.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003919/0.2802, allocations: 2.29 MB / 390.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2802, allocations: 0 / 390.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.2805, allocations: 71.89 kB / 390.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009963/0.2815, allocations: 456.6 kB / 391.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/0.2816, allocations: 15.94 kB / 391.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008503/0.2901, allocations: 5.328 MB / 396.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.2901, allocations: 128 / 396.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003694/0.2938, allocations: 1.905 MB / 398.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005026/0.2943, allocations: 195.3 kB / 398.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.2944, allocations: 16 kB / 398.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.2948, allocations: 43.95 kB / 398.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/0.295, allocations: 76.5 kB / 398.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.831e-05/0.2951, allocations: 20 kB / 398.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007916/0.2958, allocations: 0.5576 MB / 399.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2958, allocations: 0 / 399.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001015/0.2969, allocations: 355.2 kB / 399.8 MB, free: 11.46 MB / 366.1 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,rootMeanSquareVoltage.mean.y,meanVoltage.y,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 (40): * Single equations (assignments): 36 * 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,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001863/0.297, allocations: 131 kB / 399.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002187/0.2992, allocations: 1.267 MB / 401.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2992, allocations: 0 / 401.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001338/0.3006, allocations: 0.7857 MB / 402 MB, free: 9.254 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.3016, allocations: 254.6 kB / 402.2 MB, free: 9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004149/0.3058, allocations: 2.336 MB / 404.5 MB, free: 6.633 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008514/0.3066, allocations: 0.7258 MB / 405.3 MB, free: 5.867 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003444/0.307, allocations: 143 kB / 405.4 MB, free: 5.723 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.3071, allocations: 52.48 kB / 405.5 MB, free: 5.668 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3071, allocations: 3.938 kB / 405.5 MB, free: 5.664 MB / 366.1 MB Notification: Performance of Templates: time 0.03107/0.3382, allocations: 18.49 MB / 424 MB, free: 3.141 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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: 5.015703328070231]