Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009869/0.0009869, allocations: 93.53 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00147/0.001471, allocations: 192 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.7 MB / 246.4 MB, free: 9.812 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002057/0.0002057, allocations: 4 kB / 307.1 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08833/0.08855, allocations: 51.53 MB / 358.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003454/0.09205, allocations: 3.221 MB / 361.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.09358, allocations: 0.9434 MB / 362.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.09377, allocations: 15.88 kB / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.09394, allocations: 55.55 kB / 362.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.09422, allocations: 123 kB / 363 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.09453, allocations: 119.8 kB / 363.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005159/0.09505, allocations: 0.5485 MB / 363.7 MB, free: 8.367 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003088/0.09537, allocations: 161.7 kB / 363.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002901/0.09567, allocations: 191.2 kB / 364 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.09595, allocations: 207 kB / 364.2 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.184e-05/0.09601, allocations: 24 kB / 364.2 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.999e-05/0.09611, allocations: 28 kB / 364.3 MB, free: 7.754 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.375e-05/0.0962, allocations: 79.61 kB / 364.3 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.09632, allocations: 125.5 kB / 364.5 MB, free: 7.547 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004408/0.09677, allocations: 474.7 kB / 364.9 MB, free: 7.082 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.09678, allocations: 0 / 364.9 MB, free: 7.082 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09679, allocations: 0 / 364.9 MB, free: 7.082 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.0968, allocations: 0 / 364.9 MB, free: 7.082 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001172/0.09798, allocations: 0.7142 MB / 365.6 MB, free: 6.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.09803, allocations: 8.031 kB / 365.7 MB, free: 6.312 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.09825, allocations: 71.33 kB / 365.7 MB, free: 6.242 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.09869, allocations: 363.7 kB / 366.1 MB, free: 5.852 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.09873, allocations: 33 kB / 366.1 MB, free: 5.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.463e-05/0.09881, allocations: 44 kB / 366.2 MB, free: 5.777 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007355/0.09955, allocations: 457.5 kB / 366.6 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.09958, allocations: 3.938 kB / 366.6 MB, free: 5.301 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.177e-05/0.09963, allocations: 19.98 kB / 366.6 MB, free: 5.281 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.09965, allocations: 16 kB / 366.6 MB, free: 5.266 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000572/0.1002, allocations: 323.8 kB / 367 MB, free: 4.949 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.1025, allocations: 1.887 MB / 368.8 MB, free: 2.961 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007391/0.1033, allocations: 0.6209 MB / 369.5 MB, free: 2.277 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005127/0.1038, allocations: 273.8 kB / 369.7 MB, free: 2.008 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.1039, allocations: 8.328 kB / 369.7 MB, free: 2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004317/0.1043, allocations: 257.2 kB / 370 MB, free: 1.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.793e-06/0.1043, allocations: 3.938 kB / 370 MB, free: 1.727 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002114/0.1064, allocations: 0.85 MB / 370.8 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.1065, allocations: 85.09 kB / 370.9 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003743/0.1069, allocations: 320.5 kB / 371.2 MB, free: 432 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.1069, allocations: 37.7 kB / 371.3 MB, free: 388 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.1072, allocations: 228.3 kB / 371.5 MB, free: 156 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.1073, allocations: 130.1 kB / 371.6 MB, free: 24 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/0.1073, allocations: 8 kB / 371.6 MB, free: 16 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.17/0.2773, allocations: 343.6 kB / 372 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/0.2778, allocations: 122.2 kB / 372.1 MB, free: 18.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.2781, allocations: 256 kB / 372.3 MB, free: 18.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.2784, allocations: 150.9 kB / 372.5 MB, free: 18.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.2784, allocations: 1.688 kB / 372.5 MB, free: 18.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001006/0.2794, allocations: 0.509 MB / 373 MB, free: 18.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.2795, allocations: 12.31 kB / 373 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.2795, allocations: 5.062 kB / 373 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005102/0.28, allocations: 151.1 kB / 373.2 MB, free: 18.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.2803, allocations: 64.88 kB / 373.2 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002825/0.2831, allocations: 2.312 MB / 375.5 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.2834, allocations: 44.14 kB / 375.6 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.2835, allocations: 17.78 kB / 375.6 MB, free: 17.38 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: 13 ($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_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002426/0.2837, allocations: 176.5 kB / 375.8 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.925e-05/0.2838, allocations: 39.47 kB / 375.8 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.621e-05/0.2839, allocations: 45.84 kB / 375.9 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.2839, allocations: 4.281 kB / 375.9 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.2839, allocations: 1.531 kB / 375.9 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.2839, allocations: 10.44 kB / 375.9 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/0.2855, allocations: 1.037 MB / 376.9 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.2856, allocations: 1.766 kB / 376.9 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.2858, allocations: 37.08 kB / 376.9 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003801/0.2861, allocations: 141.4 kB / 377.1 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.2862, allocations: 11.97 kB / 377.1 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002316/0.2885, allocations: 2.301 MB / 379.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2885, allocations: 0.7031 kB / 379.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.2896, allocations: 0.7148 MB / 380.1 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.2898, allocations: 156.1 kB / 380.3 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.502e-05/0.2899, allocations: 17.84 kB / 380.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.2901, allocations: 14.86 kB / 380.3 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.684e-05/0.2902, allocations: 36.08 kB / 380.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.2902, allocations: 18.34 kB / 380.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002381/0.2905, allocations: 224.8 kB / 380.6 MB, free: 14 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2905, allocations: 0 / 380.6 MB, free: 14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006637/0.2911, allocations: 145.6 kB / 380.7 MB, free: 13.97 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001631/0.2913, allocations: 117.8 kB / 380.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009568/0.2923, allocations: 0.5374 MB / 381.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2923, allocations: 1.094 kB / 381.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000482/0.2928, allocations: 374.7 kB / 381.7 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.2933, allocations: 82.8 kB / 381.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.2948, allocations: 1.042 MB / 382.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.2951, allocations: 0.8352 MB / 383.7 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.2953, allocations: 42.56 kB / 383.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.68e-05/0.2954, allocations: 27.52 kB / 383.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2954, allocations: 0 / 383.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of Templates: time 0.01173/0.3071, allocations: 6.217 MB / 390 MB, free: 10.62 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches