Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001465, allocations: 177.4 kB / 16.41 MB, free: 5.707 MB / 13.93 MB 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: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007302/0.00073, allocations: 86.31 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003026/0.0003026, allocations: 8 kB / 327 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2623, allocations: 47.58 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005272/0.2677, allocations: 4.049 MB / 378.6 MB, free: 42.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002601/0.2703, allocations: 1.286 MB / 379.9 MB, free: 41.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003153/0.2707, allocations: 21.88 kB / 379.9 MB, free: 41.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000608/0.2713, allocations: 164.2 kB / 380.1 MB, free: 41.09 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5153:20-5153:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5164:20-5164:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFTyping.typeBindings: time 0.0006944/0.272, allocations: 308.9 kB / 380.4 MB, free: 40.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.2723, allocations: 134.3 kB / 380.5 MB, free: 40.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001559/0.2738, allocations: 1.595 MB / 382.1 MB, free: 39.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008719/0.2747, allocations: 0.6584 MB / 382.8 MB, free: 39.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005296/0.2753, allocations: 474.7 kB / 383.2 MB, free: 39.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006735/0.276, allocations: 0.6106 MB / 383.9 MB, free: 38.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.2761, allocations: 66.34 kB / 383.9 MB, free: 38.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.2763, allocations: 65.44 kB / 384 MB, free: 38.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002703/0.2766, allocations: 330 kB / 384.3 MB, free: 38.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002777/0.2769, allocations: 271.5 kB / 384.6 MB, free: 38.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.2782, allocations: 1.64 MB / 386.2 MB, free: 37.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.2782, allocations: 8 kB / 386.2 MB, free: 37.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.866e-06/0.2782, allocations: 0 / 386.2 MB, free: 37.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.2783, allocations: 0 / 386.2 MB, free: 37.15 MB / 298.7 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.002236/0.2805, allocations: 1.412 MB / 387.6 MB, free: 35.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.2806, allocations: 8.031 kB / 387.6 MB, free: 35.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.2808, allocations: 134.4 kB / 387.8 MB, free: 35.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009736/0.2817, allocations: 0.8404 MB / 388.6 MB, free: 34.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.868e-05/0.2818, allocations: 77.95 kB / 388.7 MB, free: 34.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.282, allocations: 96 kB / 388.8 MB, free: 34.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.2839, allocations: 1.431 MB / 390.2 MB, free: 33.03 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.2839, allocations: 0 / 390.2 MB, free: 33.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.284, allocations: 51.92 kB / 390.3 MB, free: 32.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.39e-05/0.2841, allocations: 38 kB / 390.3 MB, free: 32.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.2858, allocations: 1.292 MB / 391.6 MB, free: 31.65 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004807/0.2906, allocations: 4.347 MB / 395.9 MB, free: 27.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.2921, allocations: 1.975 MB / 397.9 MB, free: 25.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007601/0.2929, allocations: 0.6337 MB / 398.5 MB, free: 24.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.293, allocations: 4.656 kB / 398.5 MB, free: 24.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007889/0.2938, allocations: 0.6053 MB / 399.2 MB, free: 23.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=75): time 3.096e-06/0.2938, allocations: 0 / 399.2 MB, free: 23.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.00621/0.3, allocations: 2.816 MB / 402 MB, free: 20.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.3, allocations: 119.4 kB / 402.1 MB, free: 20.76 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007609/0.3008, allocations: 0.8169 MB / 402.9 MB, free: 19.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.584e-05/0.3009, allocations: 41.7 kB / 402.9 MB, free: 19.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.3011, allocations: 479.8 kB / 403.4 MB, free: 19.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.3013, allocations: 248.5 kB / 403.7 MB, free: 19.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.3013, allocations: 12 kB / 403.7 MB, free: 19.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.369e-05/0.3014, allocations: 398.7 kB / 404.1 MB, free: 18.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005009/0.3019, allocations: 401.7 kB / 404.4 MB, free: 18.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005333/0.3025, allocations: 0.5493 MB / 405 MB, free: 17.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005421/0.303, allocations: 441.9 kB / 405.4 MB, free: 17.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.303, allocations: 0 / 405.4 MB, free: 17.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001593/0.3046, allocations: 1.299 MB / 406.7 MB, free: 16.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.3047, allocations: 8 kB / 406.7 MB, free: 16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.3047, allocations: 4 kB / 406.7 MB, free: 16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009107/0.3056, allocations: 472.2 kB / 407.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.306, allocations: 99.81 kB / 407.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005185/0.3111, allocations: 5.134 MB / 412.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/0.3117, allocations: 87.45 kB / 412.5 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/0.3118, allocations: 24 kB / 412.5 MB, free: 10.05 MB / 298.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 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.000709/0.3125, allocations: 459.2 kB / 413 MB, free: 9.594 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.3126, allocations: 94.89 kB / 413.1 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.3128, allocations: 112.6 kB / 413.2 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3128, allocations: 8 kB / 413.2 MB, free: 9.375 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3128, allocations: 11.92 kB / 413.2 MB, free: 9.363 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.3128, allocations: 3.984 kB / 413.2 MB, free: 9.359 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/0.316, allocations: 2.623 MB / 415.8 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.316, allocations: 0 / 415.8 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.3163, allocations: 67.89 kB / 415.9 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008177/0.3171, allocations: 456.4 kB / 416.4 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.256e-05/0.3172, allocations: 15.98 kB / 416.4 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005251/0.3224, allocations: 5.103 MB / 421.5 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3225, allocations: 3.938 kB / 421.5 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/0.3252, allocations: 1.923 MB / 423.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004465/0.3256, allocations: 271.9 kB / 423.7 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.3257, allocations: 12 kB / 423.7 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/0.3262, allocations: 51.89 kB / 423.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.3264, allocations: 72.53 kB / 423.8 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.826e-05/0.3264, allocations: 24 kB / 423.8 MB, free: 14.51 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008686/0.3273, allocations: 0.5849 MB / 424.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3273, allocations: 4 kB / 424.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001205/0.3285, allocations: 339.1 kB / 424.7 MB, free: 13.59 MB / 314.7 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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002272/0.3287, allocations: 123.2 kB / 424.9 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002245/0.331, allocations: 1.278 MB / 426.1 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.331, allocations: 0 / 426.1 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.3323, allocations: 0.8248 MB / 427 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.3334, allocations: 268.1 kB / 427.2 MB, free: 11.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004693/0.3381, allocations: 2.716 MB / 429.9 MB, free: 8.336 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009757/0.3391, allocations: 1.292 MB / 431.2 MB, free: 7.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.3393, allocations: 55.42 kB / 431.3 MB, free: 6.965 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.3393, allocations: 0 / 431.3 MB, free: 6.965 MB / 314.7 MB Notification: Performance of Templates: time 0.02698/0.3663, allocations: 20.43 MB / 451.7 MB, free: 2.535 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches