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.001057/0.001057, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.0009639/0.0009639, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9844/0.9844, allocations: 177 MB / 204.8 MB, free: 5.25 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.603e-06/1.603e-06, allocations: 0 / 272.9 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/1.999e-05, allocations: 2.312 kB / 272.9 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004624/0.004644, allocations: 3.747 MB / 276.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.006344, allocations: 0.9737 MB / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.006564, allocations: 11.94 kB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.006788, allocations: 83.22 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003438/0.007132, allocations: 154.6 kB / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.007542, allocations: 195.5 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006029/0.008145, allocations: 0.6418 MB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002679/0.008413, allocations: 144.6 kB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004541/0.008867, allocations: 363.2 kB / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.009144, allocations: 191.4 kB / 279.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.022e-05/0.009214, allocations: 56 kB / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.009318, allocations: 63.98 kB / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.165e-05/0.00941, allocations: 127.5 kB / 279.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.009584, allocations: 187.5 kB / 279.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004705/0.01005, allocations: 418.5 kB / 280.3 MB, free: 9.922 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.01006, allocations: 4 kB / 280.3 MB, free: 9.918 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01006, allocations: 0 / 280.3 MB, free: 9.918 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.01007, allocations: 0 / 280.3 MB, free: 9.918 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.001191/0.01126, allocations: 0.952 MB / 281.2 MB, free: 8.918 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.01129, allocations: 19.98 kB / 281.2 MB, free: 8.898 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002147/0.01151, allocations: 96.59 kB / 281.3 MB, free: 8.805 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.01191, allocations: 324.2 kB / 281.6 MB, free: 8.461 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.01194, allocations: 29.38 kB / 281.7 MB, free: 8.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.343e-05/0.012, allocations: 48.38 kB / 281.7 MB, free: 8.383 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005718/0.01258, allocations: 405.5 kB / 282.1 MB, free: 7.945 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.0126, allocations: 8.125 kB / 282.1 MB, free: 7.938 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/0.01263, allocations: 23.94 kB / 282.1 MB, free: 7.914 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.01265, allocations: 8 kB / 282.1 MB, free: 7.906 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003435/0.01299, allocations: 173.8 kB / 282.3 MB, free: 7.738 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.01486, allocations: 1.843 MB / 284.2 MB, free: 5.797 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/0.0154, allocations: 300.4 kB / 284.5 MB, free: 5.492 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000422/0.01582, allocations: 212.1 kB / 284.7 MB, free: 5.281 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.01585, allocations: 8.266 kB / 284.7 MB, free: 5.273 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003532/0.0162, allocations: 242.2 kB / 284.9 MB, free: 5.008 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.974e-06/0.01621, allocations: 0 / 284.9 MB, free: 5.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001371/0.01758, allocations: 0.6291 MB / 285.5 MB, free: 4.367 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.01763, allocations: 89.11 kB / 285.6 MB, free: 4.262 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.01786, allocations: 342.3 kB / 286 MB, free: 3.914 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.01789, allocations: 29.7 kB / 286 MB, free: 3.879 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.01801, allocations: 280 kB / 286.3 MB, free: 3.602 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.728e-05/0.01809, allocations: 142.8 kB / 286.4 MB, free: 3.461 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-05/0.01818, allocations: 87.84 kB / 286.5 MB, free: 3.367 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.01831, allocations: 0.5157 MB / 287 MB, free: 2.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.01842, allocations: 64.95 kB / 287.1 MB, free: 2.777 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.01862, allocations: 276.9 kB / 287.3 MB, free: 2.422 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.01893, allocations: 334 kB / 287.7 MB, free: 2.023 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.01893, allocations: 4 kB / 287.7 MB, free: 2.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0004868/0.01942, allocations: 400.6 kB / 288.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.01943, allocations: 8 kB / 288.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.01944, allocations: 4 kB / 288.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002911/0.01973, allocations: 119.5 kB / 288.2 MB, free: 1.484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.01988, allocations: 67.84 kB / 288.3 MB, free: 1.418 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1109/0.1308, allocations: 2.617 MB / 290.9 MB, free: 23.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.131, allocations: 40.39 kB / 290.9 MB, free: 23.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.1311, allocations: 19.83 kB / 290.9 MB, free: 23.57 MB / 266.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.0001534/0.1312, allocations: 190 kB / 291.1 MB, free: 23.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.737e-05/0.1313, allocations: 54.97 kB / 291.2 MB, free: 23.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.1313, allocations: 47.94 kB / 291.2 MB, free: 23.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1313, allocations: 4.906 kB / 291.2 MB, free: 23.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.1313, allocations: 0 / 291.2 MB, free: 23.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1313, allocations: 3.156 kB / 291.2 MB, free: 23.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009106/0.1323, allocations: 0.7886 MB / 292 MB, free: 23.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.1323, allocations: 5.656 kB / 292 MB, free: 23.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.1324, allocations: 37.98 kB / 292.1 MB, free: 23.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002454/0.1326, allocations: 106.1 kB / 292.2 MB, free: 23.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.1326, allocations: 12.8 kB / 292.2 MB, free: 23.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.1341, allocations: 2.617 MB / 294.8 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1341, allocations: 1.641 kB / 294.8 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000592/0.1347, allocations: 0.5572 MB / 295.3 MB, free: 20.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.1348, allocations: 79.8 kB / 295.4 MB, free: 20.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.1348, allocations: 9.641 kB / 295.4 MB, free: 20.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.1349, allocations: 12.77 kB / 295.4 MB, free: 20.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.636e-05/0.135, allocations: 39.97 kB / 295.5 MB, free: 20.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.135, allocations: 13.97 kB / 295.5 MB, free: 20.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001473/0.1352, allocations: 234.2 kB / 295.7 MB, free: 20.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1352, allocations: 2.25 kB / 295.7 MB, free: 20.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004651/0.1356, allocations: 147.5 kB / 295.9 MB, free: 20.7 MB / 266.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 0.000117/0.1358, allocations: 119 kB / 296 MB, free: 20.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006341/0.1364, allocations: 0.5014 MB / 296.5 MB, free: 20.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1364, allocations: 0 / 296.5 MB, free: 20.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003056/0.1367, allocations: 396.7 kB / 296.9 MB, free: 20.19 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.137, allocations: 78.91 kB / 297 MB, free: 20.19 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.1383, allocations: 0.8277 MB / 297.8 MB, free: 19.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.961e-05/0.1384, allocations: 125.9 kB / 297.9 MB, free: 19.72 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.1385, allocations: 36.86 kB / 297.9 MB, free: 19.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.604e-05/0.1386, allocations: 32.45 kB / 298 MB, free: 19.71 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1386, allocations: 1.094 kB / 298 MB, free: 19.71 MB / 266.7 MB Notification: Performance of Templates: time 0.01007/0.1487, allocations: 6.867 MB / 304.8 MB, free: 17.98 MB / 266.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.9224379560910165]