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.001666/0.001666, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.001873/0.001873, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.452/1.452, allocations: 207.6 MB / 236 MB, free: 9.973 MB / 190.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.001905/0.001905, allocations: 61.33 kB / 348.5 MB, free: 9.484 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2572, allocations: 49.15 MB / 397.6 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005549/0.2628, allocations: 4.715 MB / 402.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002767/0.2655, allocations: 1.358 MB / 403.7 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006092/0.2661, allocations: 34.94 kB / 403.7 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006951/0.2668, allocations: 218.9 kB / 403.9 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009396/0.2678, allocations: 371.2 kB / 404.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.2683, allocations: 217.9 kB / 404.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00154/0.2698, allocations: 1.551 MB / 406.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007228/0.2705, allocations: 0.5338 MB / 406.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008622/0.2714, allocations: 0.643 MB / 407.2 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.2725, allocations: 0.7779 MB / 408 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002246/0.2727, allocations: 163.5 kB / 408.2 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.273, allocations: 162.9 kB / 408.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003709/0.2734, allocations: 441.7 kB / 408.8 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006885/0.274, allocations: 0.7168 MB / 409.5 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.2761, allocations: 2.089 MB / 411.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2761, allocations: 5.5 kB / 411.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2761, allocations: 0 / 411.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.652e-05/0.2761, allocations: 0 / 411.6 MB, free: 1.082 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.003435/0.2796, allocations: 1.868 MB / 413.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.2796, allocations: 12.7 kB / 413.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003161/0.2799, allocations: 144.5 kB / 413.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.2814, allocations: 0.8169 MB / 414.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.648e-05/0.2815, allocations: 69.44 kB / 414.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.2817, allocations: 103.8 kB / 414.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/0.2842, allocations: 1.433 MB / 416 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.2843, allocations: 5.172 kB / 416 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.2844, allocations: 37 kB / 416.1 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.276e-05/0.2844, allocations: 51.73 kB / 416.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/0.2867, allocations: 1.287 MB / 417.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007146/0.2939, allocations: 4.22 MB / 421.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.2956, allocations: 1.004 MB / 422.6 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/0.2969, allocations: 0.6797 MB / 423.3 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.852e-05/0.2969, allocations: 8.656 kB / 423.3 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.2979, allocations: 0.6027 MB / 423.9 MB, free: 8.816 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 2.224e-06/0.2979, allocations: 0 / 423.9 MB, free: 8.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.007184/0.3051, allocations: 2.634 MB / 426.6 MB, free: 6.172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.3052, allocations: 115.5 kB / 426.7 MB, free: 6.035 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.3067, allocations: 0.8207 MB / 427.5 MB, free: 5.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000154/0.3069, allocations: 41.7 kB / 427.5 MB, free: 5.164 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006498/0.3075, allocations: 0.489 MB / 428 MB, free: 4.668 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/0.3078, allocations: 253.9 kB / 428.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/0.308, allocations: 138.6 kB / 428.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002582/0.3083, allocations: 398.7 kB / 428.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007563/0.309, allocations: 393.7 kB / 429.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008481/0.3099, allocations: 0.5533 MB / 429.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.3113, allocations: 0.9171 MB / 430.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3113, allocations: 0 / 430.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002334/0.3136, allocations: 1.282 MB / 431.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.3137, allocations: 11.94 kB / 431.9 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.3137, allocations: 11.94 kB / 432 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.3149, allocations: 476.5 kB / 432.4 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.3153, allocations: 87.89 kB / 432.5 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008278/0.3236, allocations: 5.457 MB / 438 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008671/0.3244, allocations: 95.47 kB / 438.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.3245, allocations: 27.94 kB / 438.1 MB, free: 10.35 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.0009479/0.3255, allocations: 467.2 kB / 438.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003334/0.3258, allocations: 91.42 kB / 438.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003612/0.3262, allocations: 104.6 kB / 438.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.3262, allocations: 11.98 kB / 438.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3262, allocations: 0 / 438.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.3262, allocations: 3.984 kB / 438.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00528/0.3315, allocations: 2.563 MB / 441.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.3315, allocations: 4 kB / 441.3 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003235/0.3318, allocations: 63.91 kB / 441.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001092/0.3329, allocations: 456.6 kB / 441.8 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-05/0.333, allocations: 16 kB / 441.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008052/0.341, allocations: 5.429 MB / 447.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.341, allocations: 11.98 kB / 447.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003196/0.3442, allocations: 1.894 MB / 449.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006444/0.3449, allocations: 203.3 kB / 449.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/0.3451, allocations: 16 kB / 449.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004738/0.3456, allocations: 43.94 kB / 449.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.3458, allocations: 80.45 kB / 449.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.081e-05/0.3458, allocations: 19.98 kB / 449.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009921/0.3468, allocations: 0.5926 MB / 450.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3468, allocations: 0 / 450.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001207/0.348, allocations: 343.3 kB / 450.4 MB, free: 13.76 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.0002143/0.3482, allocations: 135.1 kB / 450.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002509/0.3507, allocations: 1.254 MB / 451.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.3507, allocations: 0 / 451.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.3521, allocations: 0.7937 MB / 452.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.3535, allocations: 274.7 kB / 452.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0048/0.3583, allocations: 2.357 MB / 455.3 MB, free: 8.879 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/0.3595, allocations: 1.288 MB / 456.5 MB, free: 7.566 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.3597, allocations: 63.42 kB / 456.6 MB, free: 7.508 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3597, allocations: 0 / 456.6 MB, free: 7.508 MB / 366.1 MB Notification: Performance of Templates: time 0.03177/0.3915, allocations: 20.68 MB / 477.3 MB, free: 2.789 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 -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: 9.685757749015465]