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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009607/0.0009607, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001082/0.001082, allocations: 171.8 kB / 24.82 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9675/0.9675, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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=500,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=500,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.426e-05, allocations: 6.312 kB / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003457/0.003471, allocations: 3.684 MB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.004598, allocations: 0.9699 MB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.004739, allocations: 11.94 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.004897, allocations: 79.16 kB / 278.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.005127, allocations: 158.6 kB / 278.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.005389, allocations: 187.5 kB / 278.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004198/0.005808, allocations: 0.6457 MB / 279.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.006017, allocations: 140.6 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.006309, allocations: 359.2 kB / 279.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.006517, allocations: 199.4 kB / 279.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.65e-05/0.006573, allocations: 59.94 kB / 279.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.88e-05/0.006652, allocations: 60 kB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.99e-05/0.006722, allocations: 127.6 kB / 280 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.006845, allocations: 187.5 kB / 280.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.007171, allocations: 410.5 kB / 280.6 MB, free: 9.914 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.007173, allocations: 0 / 280.6 MB, free: 9.914 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.007174, allocations: 4 kB / 280.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.007178, allocations: 0 / 280.6 MB, free: 9.91 MB / 266.7 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.0008531/0.008031, allocations: 0.9712 MB / 281.6 MB, free: 8.891 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.008067, allocations: 15.97 kB / 281.6 MB, free: 8.875 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.008215, allocations: 100.5 kB / 281.7 MB, free: 8.777 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.008499, allocations: 316.2 kB / 282 MB, free: 8.441 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.008523, allocations: 37.38 kB / 282 MB, free: 8.402 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.812e-05/0.008571, allocations: 48.36 kB / 282.1 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.008936, allocations: 381.4 kB / 282.4 MB, free: 7.941 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.008948, allocations: 192 / 282.4 MB, free: 7.941 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.008975, allocations: 19.94 kB / 282.5 MB, free: 7.922 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.008983, allocations: 8 kB / 282.5 MB, free: 7.914 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.009149, allocations: 142.8 kB / 282.6 MB, free: 7.773 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.01055, allocations: 1.793 MB / 284.4 MB, free: 5.891 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.01091, allocations: 275.5 kB / 284.7 MB, free: 5.613 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.01118, allocations: 192.1 kB / 284.9 MB, free: 5.422 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.01121, allocations: 8.328 kB / 284.9 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.01147, allocations: 242.1 kB / 285.1 MB, free: 5.148 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.01147, allocations: 0 / 285.1 MB, free: 5.148 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001107/0.01258, allocations: 0.5862 MB / 285.7 MB, free: 4.551 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.01263, allocations: 89.05 kB / 285.8 MB, free: 4.445 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.01284, allocations: 334.1 kB / 286.1 MB, free: 4.105 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.01287, allocations: 37.7 kB / 286.1 MB, free: 4.062 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.013, allocations: 284 kB / 286.4 MB, free: 3.781 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.624e-05/0.01308, allocations: 142.8 kB / 286.6 MB, free: 3.641 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.478e-05/0.01316, allocations: 91.8 kB / 286.6 MB, free: 3.543 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.0133, allocations: 0.5156 MB / 287.2 MB, free: 3.016 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.187e-05/0.01336, allocations: 48.95 kB / 287.2 MB, free: 2.969 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.01352, allocations: 257 kB / 287.5 MB, free: 2.633 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.01375, allocations: 306.4 kB / 287.8 MB, free: 2.262 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01375, allocations: 0 / 287.8 MB, free: 2.262 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003807/0.01413, allocations: 376.3 kB / 288.1 MB, free: 1.883 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.01415, allocations: 4 kB / 288.1 MB, free: 1.879 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.01416, allocations: 7.938 kB / 288.1 MB, free: 1.871 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002466/0.0144, allocations: 120 kB / 288.3 MB, free: 1.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.01454, allocations: 67.91 kB / 288.3 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/0.01618, allocations: 2.547 MB / 290.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.01631, allocations: 39.73 kB / 290.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.01633, allocations: 12 kB / 290.9 MB, free: 14.97 MB / 282.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: 13 (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_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 (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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.01646, allocations: 196.4 kB / 291.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.01651, allocations: 55.77 kB / 291.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.576e-05/0.01655, allocations: 48.3 kB / 291.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01656, allocations: 4 kB / 291.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.01656, allocations: 0 / 291.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.01656, allocations: 3.984 kB / 291.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006423/0.01721, allocations: 0.7054 MB / 291.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01721, allocations: 0 / 291.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.664e-05/0.01729, allocations: 39.91 kB / 292 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001762/0.01747, allocations: 103.6 kB / 292.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.01749, allocations: 11.94 kB / 292.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/0.01883, allocations: 2.555 MB / 294.6 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01883, allocations: 0 / 294.6 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.01925, allocations: 0.5179 MB / 295.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.884e-05/0.01934, allocations: 79.59 kB / 295.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.01936, allocations: 4 kB / 295.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.838e-05/0.01946, allocations: 23.98 kB / 295.3 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.01951, allocations: 31.94 kB / 295.3 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.01953, allocations: 15.98 kB / 295.3 MB, free: 10.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.501e-05/0.01962, allocations: 218.9 kB / 295.5 MB, free: 10.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01962, allocations: 0 / 295.5 MB, free: 10.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003269/0.01995, allocations: 147.7 kB / 295.7 MB, free: 10.04 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * 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 (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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 9.437e-05/0.02004, allocations: 119.2 kB / 295.8 MB, free: 9.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004221/0.02047, allocations: 480.5 kB / 296.3 MB, free: 9.422 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.02047, allocations: 0 / 296.3 MB, free: 9.422 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.02072, allocations: 390.2 kB / 296.6 MB, free: 9.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.02098, allocations: 73 kB / 296.7 MB, free: 8.945 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.02206, allocations: 0.8282 MB / 297.5 MB, free: 8.082 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.922e-05/0.02214, allocations: 118.1 kB / 297.6 MB, free: 7.945 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.596e-05/0.02222, allocations: 39.27 kB / 297.7 MB, free: 7.906 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.02236, allocations: 146.2 kB / 297.8 MB, free: 7.762 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.02236, allocations: 4 kB / 297.8 MB, free: 7.758 MB / 282.7 MB Notification: Performance of Templates: time 0.008193/0.03055, allocations: 6.993 MB / 304.8 MB, free: 0.9414 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] 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.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.806980988010764]