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.0007928/0.0007929, allocations: 98.7 kB / 17 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008903/0.0008906, allocations: 194.5 kB / 17.9 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.7 MB / 246.4 MB, free: 9.812 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001891/0.0001892, allocations: 8 kB / 307.1 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08364/0.08384, allocations: 51.52 MB / 358.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005406/0.08928, allocations: 4.133 MB / 362.8 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003416/0.09273, allocations: 1.309 MB / 364.1 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006822/0.09344, allocations: 27.81 kB / 364.1 MB, free: 7.918 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007324/0.09419, allocations: 155 kB / 364.3 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.09532, allocations: 318.3 kB / 364.6 MB, free: 7.453 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.09588, allocations: 139.8 kB / 364.7 MB, free: 7.316 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002281/0.09817, allocations: 1.615 MB / 366.3 MB, free: 5.695 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.09956, allocations: 0.6938 MB / 367 MB, free: 4.984 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008581/0.1004, allocations: 482 kB / 367.5 MB, free: 4.512 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.1016, allocations: 0.6186 MB / 368.1 MB, free: 3.891 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.1018, allocations: 64 kB / 368.2 MB, free: 3.828 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002662/0.1021, allocations: 68 kB / 368.2 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004511/0.1026, allocations: 322.9 kB / 368.6 MB, free: 3.445 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003977/0.103, allocations: 281 kB / 368.8 MB, free: 3.164 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.1052, allocations: 1.66 MB / 370.5 MB, free: 1.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1052, allocations: 0 / 370.5 MB, free: 1.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1053, allocations: 0 / 370.5 MB, free: 1.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.1053, allocations: 0 / 370.5 MB, free: 1.5 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.003634/0.1089, allocations: 1.447 MB / 371.9 MB, free: 0 / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.1888/0.2978, allocations: 9.547 kB / 371.9 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007985/0.2986, allocations: 174.4 kB / 372.1 MB, free: 18.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.3, allocations: 0.8966 MB / 373 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.935e-05/0.3001, allocations: 73.84 kB / 373.1 MB, free: 18.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.3003, allocations: 99.66 kB / 373.2 MB, free: 18.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002646/0.3029, allocations: 1.445 MB / 374.6 MB, free: 18.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/0.303, allocations: 1.219 kB / 374.6 MB, free: 18.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.596e-05/0.3031, allocations: 41.75 kB / 374.7 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.432e-05/0.3031, allocations: 41.11 kB / 374.7 MB, free: 18.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002147/0.3053, allocations: 1.302 MB / 376 MB, free: 17.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005772/0.3111, allocations: 4.376 MB / 380.4 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.3127, allocations: 1.969 MB / 382.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008704/0.3136, allocations: 0.6321 MB / 383 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.953e-05/0.3137, allocations: 11.28 kB / 383 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000907/0.3146, allocations: 0.5988 MB / 383.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.264e-06/0.3146, allocations: 1.062 kB / 383.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.006521/0.3211, allocations: 2.719 MB / 386.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.3212, allocations: 119.5 kB / 386.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.3222, allocations: 0.8367 MB / 387.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.3223, allocations: 37.39 kB / 387.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003098/0.3226, allocations: 0.4893 MB / 387.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.3228, allocations: 241.4 kB / 388 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.3228, allocations: 15.47 kB / 388 MB, free: 10.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.089e-05/0.3229, allocations: 334 kB / 388.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005473/0.3234, allocations: 402.2 kB / 388.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006268/0.3241, allocations: 0.5507 MB / 389.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006253/0.3247, allocations: 440.5 kB / 389.7 MB, free: 9.824 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.3247, allocations: 10.05 kB / 389.8 MB, free: 9.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001916/0.3266, allocations: 1.316 MB / 391.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.3267, allocations: 11.25 kB / 391.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.3267, allocations: 2.844 kB / 391.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009682/0.3277, allocations: 470.2 kB / 391.5 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.328, allocations: 88.77 kB / 391.6 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005574/0.3336, allocations: 5.128 MB / 396.8 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005361/0.3342, allocations: 82.42 kB / 396.8 MB, free: 5.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.022e-05/0.3342, allocations: 26.86 kB / 396.9 MB, free: 5.125 MB / 302.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 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,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.0005434/0.3348, allocations: 476.3 kB / 397.3 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-05/0.3349, allocations: 87.03 kB / 397.4 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.3351, allocations: 120.2 kB / 397.5 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.3351, allocations: 7.906 kB / 397.5 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3351, allocations: 3.938 kB / 397.5 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3351, allocations: 3.984 kB / 397.6 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/0.3381, allocations: 2.624 MB / 400.2 MB, free: 2.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3382, allocations: 0 / 400.2 MB, free: 2.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.3384, allocations: 67.95 kB / 400.2 MB, free: 2.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007562/0.3392, allocations: 469 kB / 400.7 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.3392, allocations: 15.95 kB / 400.7 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005583/0.3448, allocations: 5.068 MB / 405.8 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3448, allocations: 4 kB / 405.8 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002797/0.3476, allocations: 1.92 MB / 407.7 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004136/0.3481, allocations: 271.8 kB / 408 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.3482, allocations: 19.98 kB / 408 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.3486, allocations: 47.91 kB / 408 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/0.3488, allocations: 72.55 kB / 408.1 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.188e-05/0.3488, allocations: 24 kB / 408.1 MB, free: 10.63 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007333/0.3496, allocations: 0.5927 MB / 408.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.144e-06/0.3496, allocations: 0 / 408.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009734/0.3505, allocations: 347 kB / 409.1 MB, free: 9.703 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 (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.0001829/0.3507, allocations: 139.6 kB / 409.2 MB, free: 9.559 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001963/0.3527, allocations: 1.283 MB / 410.5 MB, free: 8.262 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3527, allocations: 0 / 410.5 MB, free: 8.262 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.3539, allocations: 0.8263 MB / 411.3 MB, free: 7.422 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.3549, allocations: 270.1 kB / 411.6 MB, free: 7.168 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00392/0.3588, allocations: 2.732 MB / 414.3 MB, free: 4.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009159/0.3598, allocations: 1.326 MB / 415.6 MB, free: 3.055 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003799/0.3601, allocations: 147.4 kB / 415.8 MB, free: 2.906 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.3603, allocations: 51.44 kB / 415.8 MB, free: 2.855 MB / 318.1 MB Notification: Performance of SimCode: time 4e-07/0.3603, allocations: 0 / 415.8 MB, free: 2.855 MB / 318.1 MB Notification: Performance of Templates: time 0.02774/0.388, allocations: 17.84 MB / 433.7 MB, free: 1.227 MB / 334.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