Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001362/0.001362, allocations: 114.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 60.17 kB / 306.5 MB, free: 0.918 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09176/0.09299, allocations: 50.53 MB / 357 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005846/0.09887, allocations: 4.776 MB / 361.8 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.1014, allocations: 1.344 MB / 363.1 MB, free: 8.234 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005082/0.1019, allocations: 27.88 kB / 363.1 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006254/0.1026, allocations: 178.9 kB / 363.3 MB, free: 8.031 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007871/0.1034, allocations: 322.4 kB / 363.6 MB, free: 7.715 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.1038, allocations: 195.8 kB / 363.8 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.1052, allocations: 1.557 MB / 365.4 MB, free: 5.961 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.1062, allocations: 0.9692 MB / 366.3 MB, free: 4.961 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006568/0.1069, allocations: 0.6463 MB / 367 MB, free: 4.312 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007773/0.1077, allocations: 0.7822 MB / 367.8 MB, free: 3.527 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.1079, allocations: 164 kB / 367.9 MB, free: 3.367 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.1081, allocations: 168 kB / 368.1 MB, free: 3.203 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003437/0.1085, allocations: 454.7 kB / 368.5 MB, free: 2.758 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006196/0.1091, allocations: 0.7272 MB / 369.3 MB, free: 2.027 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1622/0.2713, allocations: 2.079 MB / 371.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2714, allocations: 5.203 kB / 371.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2714, allocations: 0 / 371.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001019/0.2715, allocations: 0 / 371.4 MB, free: 12.68 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003195/0.2747, allocations: 1.65 MB / 373 MB, free: 11.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2747, allocations: 9.406 kB / 373 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004629/0.2752, allocations: 165.2 kB / 373.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.2764, allocations: 0.9327 MB / 374.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.965e-05/0.2765, allocations: 74.89 kB / 374.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.2766, allocations: 100.2 kB / 374.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/0.2789, allocations: 1.447 MB / 375.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.2789, allocations: 5.281 kB / 375.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.325e-05/0.279, allocations: 43.95 kB / 375.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-05/0.2791, allocations: 44.23 kB / 375.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.2809, allocations: 1.292 MB / 377.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005641/0.2866, allocations: 4.354 MB / 381.5 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.2883, allocations: 1.963 MB / 383.4 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009037/0.2892, allocations: 0.6184 MB / 384 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.304e-05/0.2893, allocations: 6.938 kB / 384 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009225/0.2902, allocations: 0.5982 MB / 384.6 MB, free: 7.164 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 3.145e-06/0.2902, allocations: 0 / 384.6 MB, free: 7.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.006451/0.2967, allocations: 2.742 MB / 387.4 MB, free: 6.367 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.2967, allocations: 117 kB / 387.5 MB, free: 6.242 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009546/0.2977, allocations: 0.844 MB / 388.3 MB, free: 5.902 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.2977, allocations: 42.42 kB / 388.4 MB, free: 5.859 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.298, allocations: 0.4911 MB / 388.9 MB, free: 5.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.2982, allocations: 240.9 kB / 389.1 MB, free: 5.301 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.2984, allocations: 132 kB / 389.2 MB, free: 5.234 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.943e-05/0.2985, allocations: 334.2 kB / 389.6 MB, free: 4.918 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005361/0.299, allocations: 393.8 kB / 390 MB, free: 4.727 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005991/0.2996, allocations: 0.5478 MB / 390.5 MB, free: 4.336 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.3007, allocations: 0.922 MB / 391.4 MB, free: 3.766 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3007, allocations: 1.281 kB / 391.4 MB, free: 3.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001739/0.3025, allocations: 1.314 MB / 392.7 MB, free: 3.086 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3025, allocations: 6.875 kB / 392.7 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.3025, allocations: 4.125 kB / 392.7 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009245/0.3035, allocations: 479.9 kB / 393.2 MB, free: 2.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.3038, allocations: 93.73 kB / 393.3 MB, free: 2.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005834/0.3096, allocations: 5.584 MB / 398.9 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005225/0.3102, allocations: 88.95 kB / 399 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.736e-05/0.3102, allocations: 28.66 kB / 399 MB, free: 14.76 MB / 318.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_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_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: 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.00059/0.3108, allocations: 477.5 kB / 399.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.311, allocations: 85.19 kB / 399.6 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.3112, allocations: 117.9 kB / 399.7 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3112, allocations: 10.38 kB / 399.7 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.3112, allocations: 4 kB / 399.7 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3112, allocations: 3.984 kB / 399.7 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003586/0.3148, allocations: 2.606 MB / 402.3 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3148, allocations: 0 / 402.3 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.3151, allocations: 65.58 kB / 402.4 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009322/0.316, allocations: 464.6 kB / 402.8 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.845e-05/0.3161, allocations: 16 kB / 402.8 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00636/0.3225, allocations: 5.526 MB / 408.4 MB, free: 6.324 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3225, allocations: 0 / 408.4 MB, free: 6.324 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/0.3253, allocations: 1.906 MB / 410.3 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005086/0.3258, allocations: 279.8 kB / 410.5 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.3259, allocations: 15.94 kB / 410.6 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/0.3263, allocations: 47.95 kB / 410.6 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/0.3265, allocations: 75.36 kB / 410.7 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.615e-05/0.3266, allocations: 20 kB / 410.7 MB, free: 3.953 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007594/0.3273, allocations: 0.6005 MB / 411.3 MB, free: 3.359 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3274, allocations: 2.625 kB / 411.3 MB, free: 3.359 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00104/0.3284, allocations: 343 kB / 411.6 MB, free: 3.023 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,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 (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.0002384/0.3286, allocations: 129.8 kB / 411.8 MB, free: 2.891 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002586/0.3312, allocations: 1.433 MB / 413.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3313, allocations: 4 kB / 413.2 MB, free: 1.457 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.3324, allocations: 0.8243 MB / 414 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.3335, allocations: 283.4 kB / 414.3 MB, free: 376 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00393/0.3374, allocations: 2.817 MB / 417.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008686/0.3383, allocations: 1.326 MB / 418.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003745/0.3387, allocations: 147.4 kB / 418.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.3388, allocations: 59.42 kB / 418.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3388, allocations: 0 / 418.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of Templates: time 0.02884/0.3677, allocations: 19.44 MB / 438.1 MB, free: 8.785 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches