Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 88.59 kB / 20.95 MB, free: 328 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 153.1 kB / 24.25 MB, free: 3.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 173.3 MB / 200.8 MB, free: 12.71 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 3.938 kB / 267.3 MB, free: 10.16 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.813e-05/3.964e-05, allocations: 8.359 kB / 267.3 MB, free: 10.15 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005133/0.005172, allocations: 3.408 MB / 270.7 MB, free: 6.715 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.006915, allocations: 0.8921 MB / 271.6 MB, free: 5.82 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.007098, allocations: 7.938 kB / 271.6 MB, free: 5.812 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.007329, allocations: 79.22 kB / 271.7 MB, free: 5.734 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003486/0.007677, allocations: 154.6 kB / 271.9 MB, free: 5.582 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.008014, allocations: 171.7 kB / 272 MB, free: 5.414 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006258/0.00864, allocations: 0.6263 MB / 272.7 MB, free: 4.785 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002907/0.00893, allocations: 140.6 kB / 272.8 MB, free: 4.637 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000441/0.009371, allocations: 347.1 kB / 273.1 MB, free: 4.297 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.009674, allocations: 183.5 kB / 273.3 MB, free: 4.117 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 9.777e-05/0.009772, allocations: 56 kB / 273.4 MB, free: 4.062 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.663e-05/0.009869, allocations: 56 kB / 273.4 MB, free: 4.008 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.009989, allocations: 123.5 kB / 273.6 MB, free: 3.887 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.01021, allocations: 191.5 kB / 273.7 MB, free: 3.699 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007115/0.01093, allocations: 0.6464 MB / 274.4 MB, free: 3.051 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.01093, allocations: 0 / 274.4 MB, free: 3.051 MB / 254.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01093, allocations: 0 / 274.4 MB, free: 3.051 MB / 254.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.01094, allocations: 0 / 274.4 MB, free: 3.051 MB / 254.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.001431/0.01237, allocations: 0.8361 MB / 275.2 MB, free: 2.172 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.01241, allocations: 12.91 kB / 275.2 MB, free: 2.16 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.01256, allocations: 96.55 kB / 275.3 MB, free: 2.066 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.01303, allocations: 306.5 kB / 275.6 MB, free: 1.742 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.01306, allocations: 33.38 kB / 275.7 MB, free: 1.711 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.297e-05/0.01315, allocations: 52.36 kB / 275.7 MB, free: 1.66 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008133/0.01396, allocations: 479.8 kB / 276.2 MB, free: 1.16 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.01398, allocations: 4.188 kB / 276.2 MB, free: 1.156 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/0.01403, allocations: 23.94 kB / 276.2 MB, free: 1.133 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.01404, allocations: 8 kB / 276.2 MB, free: 1.125 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006149/0.01466, allocations: 319.7 kB / 276.5 MB, free: 0.8125 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002287/0.01695, allocations: 1.628 MB / 278.2 MB, free: 15.1 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006849/0.01763, allocations: 359.6 kB / 278.5 MB, free: 14.74 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005872/0.01822, allocations: 253.3 kB / 278.8 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.01826, allocations: 12.31 kB / 278.8 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004575/0.01871, allocations: 298.8 kB / 279.1 MB, free: 14.16 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 2.154e-06/0.01872, allocations: 0 / 279.1 MB, free: 14.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=43): time 0.002342/0.02106, allocations: 0.7838 MB / 279.8 MB, free: 13.37 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.02113, allocations: 85.09 kB / 279.9 MB, free: 13.27 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.02146, allocations: 292.5 kB / 280.2 MB, free: 12.97 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.0215, allocations: 37.7 kB / 280.2 MB, free: 12.93 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.02169, allocations: 221.3 kB / 280.5 MB, free: 12.71 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.02181, allocations: 138.8 kB / 280.6 MB, free: 12.57 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.02194, allocations: 90.14 kB / 280.7 MB, free: 12.48 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000246/0.02219, allocations: 346.8 kB / 281 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.02243, allocations: 117 kB / 281.1 MB, free: 12.02 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.02279, allocations: 282 kB / 281.4 MB, free: 11.68 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006034/0.0234, allocations: 382.5 kB / 281.8 MB, free: 11.26 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.0234, allocations: 3.938 kB / 281.8 MB, free: 11.25 MB / 270.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009528/0.02435, allocations: 0.5171 MB / 282.3 MB, free: 10.73 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.02437, allocations: 8 kB / 282.3 MB, free: 10.72 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.02438, allocations: 4.469 kB / 282.3 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004923/0.02488, allocations: 148.8 kB / 282.5 MB, free: 10.57 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.02512, allocations: 63.91 kB / 282.5 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003202/0.02832, allocations: 2.413 MB / 284.9 MB, free: 7.996 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.02857, allocations: 35.78 kB / 285 MB, free: 7.961 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.0286, allocations: 16 kB / 285 MB, free: 7.945 MB / 270.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 (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.0002394/0.02884, allocations: 185.8 kB / 285.2 MB, free: 7.754 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.843e-05/0.02893, allocations: 55.91 kB / 285.2 MB, free: 7.699 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.797e-05/0.02903, allocations: 43.47 kB / 285.3 MB, free: 7.652 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.02904, allocations: 12 kB / 285.3 MB, free: 7.641 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.02904, allocations: 0 / 285.3 MB, free: 7.641 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.02905, allocations: 7.922 kB / 285.3 MB, free: 7.633 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.03048, allocations: 0.8678 MB / 286.2 MB, free: 6.723 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.03049, allocations: 4 kB / 286.2 MB, free: 6.719 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.03067, allocations: 35.95 kB / 286.2 MB, free: 6.684 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004276/0.03109, allocations: 148.8 kB / 286.3 MB, free: 6.535 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.03112, allocations: 4 kB / 286.3 MB, free: 6.531 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002952/0.03407, allocations: 2.383 MB / 288.7 MB, free: 4.051 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.03407, allocations: 48 / 288.7 MB, free: 4.051 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.03524, allocations: 0.725 MB / 289.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.03538, allocations: 75.7 kB / 289.5 MB, free: 3.223 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.03543, allocations: 8 kB / 289.5 MB, free: 3.215 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.03564, allocations: 15.98 kB / 289.6 MB, free: 3.199 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.03575, allocations: 31.94 kB / 289.6 MB, free: 3.168 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.03578, allocations: 19.98 kB / 289.6 MB, free: 3.148 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002221/0.036, allocations: 203.1 kB / 289.8 MB, free: 2.953 MB / 270.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.036, allocations: 0 / 289.8 MB, free: 2.953 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005984/0.0366, allocations: 155.6 kB / 290 MB, free: 2.801 MB / 270.1 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.000216/0.03681, allocations: 123.2 kB / 290.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.03793, allocations: 0.5333 MB / 290.6 MB, free: 2.125 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.03793, allocations: 256 / 290.6 MB, free: 2.125 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005779/0.03851, allocations: 369.8 kB / 291 MB, free: 1.75 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.03895, allocations: 68.62 kB / 291 MB, free: 1.684 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.04066, allocations: 0.8433 MB / 291.9 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.04091, allocations: 228.6 kB / 292.1 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.04103, allocations: 39.36 kB / 292.1 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.04111, allocations: 32.5 kB / 292.2 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of SimCode: time 8.21e-07/0.04111, allocations: 0 / 292.2 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of Templates: time 0.0133/0.05441, allocations: 6.4 MB / 298.6 MB, free: 10.27 MB / 286.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_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.27441555634141]