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.0008961/0.0008962, allocations: 93.97 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001747/0.001747, allocations: 204 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002322/0.0002324, allocations: 4 kB / 306.6 MB, free: 1.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09169/0.09194, allocations: 51.5 MB / 358.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004088/0.09605, allocations: 3.88 MB / 362 MB, free: 10 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.09805, allocations: 1.329 MB / 363.3 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000252/0.09832, allocations: 23.88 kB / 363.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004594/0.09878, allocations: 179 kB / 363.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005916/0.09939, allocations: 303.1 kB / 363.8 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.09968, allocations: 131.8 kB / 363.9 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.1008, allocations: 0.9354 MB / 364.9 MB, free: 7.105 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008014/0.1016, allocations: 0.6977 MB / 365.6 MB, free: 6.391 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005146/0.1021, allocations: 446.4 kB / 366 MB, free: 5.953 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005731/0.1027, allocations: 0.529 MB / 366.5 MB, free: 5.422 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.1028, allocations: 64 kB / 366.6 MB, free: 5.359 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.103, allocations: 72 kB / 366.7 MB, free: 5.289 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.1033, allocations: 299.1 kB / 366.9 MB, free: 4.996 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.1035, allocations: 281 kB / 367.2 MB, free: 4.715 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.1048, allocations: 1.648 MB / 368.9 MB, free: 3.062 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1048, allocations: 0 / 368.9 MB, free: 3.062 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1048, allocations: 0 / 368.9 MB, free: 3.062 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.996e-05/0.1048, allocations: 0 / 368.9 MB, free: 3.062 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.002426/0.1073, allocations: 1.439 MB / 370.3 MB, free: 1.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1073, allocations: 12.03 kB / 370.3 MB, free: 1.559 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004679/0.1078, allocations: 170.4 kB / 370.5 MB, free: 1.391 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.1092, allocations: 0.8948 MB / 371.4 MB, free: 464 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.38e-05/0.1092, allocations: 77.98 kB / 371.5 MB, free: 388 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.1094, allocations: 96 kB / 371.6 MB, free: 292 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.155/0.2644, allocations: 1.427 MB / 373 MB, free: 18.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/0.2644, allocations: 2.594 kB / 373 MB, free: 18.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.2645, allocations: 40.72 kB / 373 MB, free: 18.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.627e-05/0.2646, allocations: 49.22 kB / 373.1 MB, free: 18.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.267, allocations: 1.295 MB / 374.4 MB, free: 18.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006241/0.2732, allocations: 4.375 MB / 378.7 MB, free: 16.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.275, allocations: 1.969 MB / 380.7 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.599e-05/0.2751, allocations: 8.828 kB / 380.7 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009307/0.276, allocations: 0.5933 MB / 381.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.484e-06/0.2761, allocations: 0 / 381.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.007352/0.2834, allocations: 2.755 MB / 384.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.2835, allocations: 111.8 kB / 384.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.2848, allocations: 0.8323 MB / 385 MB, free: 13.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.03e-05/0.2849, allocations: 41.97 kB / 385 MB, free: 13.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003843/0.2853, allocations: 496 kB / 385.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.2855, allocations: 244.9 kB / 385.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.2855, allocations: 15.25 kB / 385.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.2856, allocations: 341.5 kB / 386.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005557/0.2862, allocations: 394.4 kB / 386.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006062/0.2868, allocations: 0.548 MB / 387.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006027/0.2874, allocations: 441.4 kB / 387.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.2874, allocations: 6.859 kB / 387.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002018/0.2894, allocations: 1.322 MB / 388.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.2895, allocations: 6.844 kB / 388.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.2895, allocations: 4.656 kB / 388.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009726/0.2904, allocations: 467.4 kB / 389.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/0.2908, allocations: 91.52 kB / 389.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005839/0.2967, allocations: 5.295 MB / 394.7 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006635/0.2973, allocations: 88.39 kB / 394.7 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.2974, allocations: 27.25 kB / 394.8 MB, free: 6.477 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.0006965/0.2981, allocations: 464.4 kB / 395.2 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.2983, allocations: 86.78 kB / 395.3 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.2984, allocations: 108.7 kB / 395.4 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.2984, allocations: 6.938 kB / 395.4 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.2985, allocations: 0 / 395.4 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.2985, allocations: 3.984 kB / 395.4 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003479/0.302, allocations: 2.639 MB / 398.1 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.302, allocations: 0 / 398.1 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.3022, allocations: 67 kB / 398.1 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007916/0.303, allocations: 467.2 kB / 398.6 MB, free: 4.125 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.042e-05/0.3031, allocations: 15.92 kB / 398.6 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00533/0.3084, allocations: 5.239 MB / 403.8 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3085, allocations: 3.828 kB / 403.9 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003129/0.3116, allocations: 1.913 MB / 405.8 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005273/0.3122, allocations: 283.8 kB / 406 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.3123, allocations: 20 kB / 406.1 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.3127, allocations: 43.89 kB / 406.1 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.3129, allocations: 72.55 kB / 406.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-05/0.313, allocations: 24.23 kB / 406.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008006/0.3138, allocations: 0.5888 MB / 406.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3138, allocations: 0 / 406.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001141/0.3149, allocations: 347 kB / 407.1 MB, free: 11.91 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.0002151/0.3151, allocations: 139.8 kB / 407.3 MB, free: 11.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002156/0.3173, allocations: 1.284 MB / 408.5 MB, free: 10.47 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3173, allocations: 0 / 408.5 MB, free: 10.47 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.3185, allocations: 0.8218 MB / 409.4 MB, free: 9.637 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008895/0.3194, allocations: 254.5 kB / 409.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/0.3235, allocations: 2.714 MB / 412.3 MB, free: 6.668 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009367/0.3244, allocations: 1.357 MB / 413.7 MB, free: 5.281 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004028/0.3249, allocations: 139.4 kB / 413.8 MB, free: 5.141 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.325, allocations: 55.42 kB / 413.9 MB, free: 5.086 MB / 318.1 MB Notification: Performance of SimCode: time 1.343e-06/0.325, allocations: 0 / 413.9 MB, free: 5.086 MB / 318.1 MB Notification: Performance of Templates: time 0.02801/0.353, allocations: 17.83 MB / 431.7 MB, free: 3.473 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","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches