Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002309/0.002309, allocations: 99.53 kB / 21.73 MB, free: 2.691 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002682/0.002682, allocations: 170.3 kB / 25.03 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 158.6 MB / 186.8 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 250.4 MB, free: 7.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.91e-05, allocations: 2.312 kB / 250.4 MB, free: 7.805 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.00602/0.006049, allocations: 3.613 MB / 254 MB, free: 4.164 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.00795, allocations: 0.9319 MB / 254.9 MB, free: 3.227 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/0.008151, allocations: 11.94 kB / 255 MB, free: 3.215 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.008415, allocations: 87.16 kB / 255 MB, free: 3.129 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003913/0.008807, allocations: 154.6 kB / 255.2 MB, free: 2.977 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.009205, allocations: 163.7 kB / 255.3 MB, free: 2.816 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007935/0.009998, allocations: 0.6261 MB / 256 MB, free: 2.188 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003319/0.01033, allocations: 139.9 kB / 256.1 MB, free: 2.043 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004688/0.0108, allocations: 335.3 kB / 256.4 MB, free: 1.715 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003513/0.01115, allocations: 199.3 kB / 256.6 MB, free: 1.52 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.01126, allocations: 56 kB / 256.7 MB, free: 1.465 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.01136, allocations: 52 kB / 256.7 MB, free: 1.414 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.0115, allocations: 119.6 kB / 256.9 MB, free: 1.297 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002423/0.01175, allocations: 183.5 kB / 257 MB, free: 1.117 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008647/0.01261, allocations: 0.6503 MB / 257.7 MB, free: 476 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.01261, allocations: 0 / 257.7 MB, free: 476 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01262, allocations: 0 / 257.7 MB, free: 476 kB / 234.7 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.01262, allocations: 0 / 257.7 MB, free: 476 kB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002018/0.01464, allocations: 1.042 MB / 258.7 MB, free: 15.38 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.01469, allocations: 11.98 kB / 258.7 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.01488, allocations: 96.53 kB / 258.8 MB, free: 15.27 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005676/0.01544, allocations: 305.4 kB / 259.1 MB, free: 14.95 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.045e-05/0.01548, allocations: 33.38 kB / 259.2 MB, free: 14.91 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.169e-05/0.01557, allocations: 44.38 kB / 259.2 MB, free: 14.87 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009064/0.01647, allocations: 0.489 MB / 259.7 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.01649, allocations: 192 / 259.7 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.314e-05/0.01655, allocations: 23.94 kB / 259.7 MB, free: 14.32 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.01656, allocations: 8 kB / 259.7 MB, free: 14.31 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006506/0.01721, allocations: 303.8 kB / 260 MB, free: 14.02 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003115/0.02032, allocations: 2.029 MB / 262.1 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008085/0.02113, allocations: 360.8 kB / 262.4 MB, free: 11.53 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006631/0.0218, allocations: 264.1 kB / 262.7 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.02184, allocations: 8.328 kB / 262.7 MB, free: 11.26 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005813/0.02242, allocations: 318.1 kB / 263 MB, free: 10.92 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 4.188e-06/0.02242, allocations: 3.984 kB / 263 MB, free: 10.92 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.002607/0.02503, allocations: 0.7815 MB / 263.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.652e-05/0.02512, allocations: 89.11 kB / 263.9 MB, free: 10.02 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005209/0.02564, allocations: 414.2 kB / 264.3 MB, free: 9.598 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/0.02569, allocations: 29.7 kB / 264.3 MB, free: 9.562 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/0.02595, allocations: 275.4 kB / 264.6 MB, free: 9.289 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.02613, allocations: 158.7 kB / 264.7 MB, free: 9.133 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.02632, allocations: 103.9 kB / 264.8 MB, free: 9.023 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003802/0.0267, allocations: 0.5352 MB / 265.3 MB, free: 8.477 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.02695, allocations: 113 kB / 265.5 MB, free: 8.367 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004794/0.02743, allocations: 333 kB / 265.8 MB, free: 7.957 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007079/0.02814, allocations: 441.8 kB / 266.2 MB, free: 7.453 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.02814, allocations: 4 kB / 266.2 MB, free: 7.449 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001026/0.02917, allocations: 0.5047 MB / 266.7 MB, free: 6.934 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.02919, allocations: 12.03 kB / 266.7 MB, free: 6.922 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.0292, allocations: 4 kB / 266.7 MB, free: 6.918 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005397/0.02974, allocations: 162.8 kB / 266.9 MB, free: 6.758 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.03002, allocations: 71.89 kB / 267 MB, free: 6.688 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004084/0.03411, allocations: 3.044 MB / 270 MB, free: 3.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.03439, allocations: 43.72 kB / 270.1 MB, free: 3.477 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/0.03444, allocations: 23.94 kB / 270.1 MB, free: 3.453 MB / 250.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0003033/0.03474, allocations: 216.5 kB / 270.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.846e-05/0.03484, allocations: 51.75 kB / 270.3 MB, free: 3.18 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.03496, allocations: 43.5 kB / 270.4 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.03497, allocations: 8.078 kB / 270.4 MB, free: 3.133 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.03498, allocations: 0 / 270.4 MB, free: 3.133 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.03498, allocations: 3.984 kB / 270.4 MB, free: 3.129 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.03676, allocations: 1.006 MB / 271.4 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.03676, allocations: 0 / 271.4 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.03699, allocations: 39.92 kB / 271.4 MB, free: 2.035 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004369/0.03743, allocations: 146.8 kB / 271.6 MB, free: 1.891 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/0.03747, allocations: 15.98 kB / 271.6 MB, free: 1.875 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003874/0.04134, allocations: 3.036 MB / 274.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.04135, allocations: 8 kB / 274.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.04272, allocations: 0.7599 MB / 275.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.04291, allocations: 71.66 kB / 275.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.756e-05/0.04297, allocations: 15.98 kB / 275.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.04318, allocations: 8 kB / 275.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.0433, allocations: 39.92 kB / 275.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.04333, allocations: 12 kB / 275.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002982/0.04363, allocations: 267 kB / 275.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.04363, allocations: 0 / 275.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006458/0.04427, allocations: 151.7 kB / 276 MB, free: 13.37 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,rootMeanSquareVoltage.mean.y,meanVoltage.y,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.000198/0.04447, allocations: 119.3 kB / 276.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.04566, allocations: 0.6025 MB / 276.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.04566, allocations: 0 / 276.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007185/0.04638, allocations: 457.2 kB / 277.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.04687, allocations: 80.97 kB / 277.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.04873, allocations: 0.8517 MB / 278.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.049, allocations: 224.7 kB / 278.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.04914, allocations: 39.27 kB / 278.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.191e-05/0.04922, allocations: 32.5 kB / 278.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.04922, allocations: 3.938 kB / 278.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of Templates: time 0.0151/0.06432, allocations: 6.47 MB / 284.8 MB, free: 4.438 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.604376847972162]