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.0007793/0.0007793, allocations: 88.64 kB / 21.44 MB, free: 3.098 MB / 18.57 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.0007938/0.0007938, allocations: 145.7 kB / 24.68 MB, free: 9.449 MB / 18.57 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 0.8205/0.8205, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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.413e-06/1.413e-06, allocations: 0 / 319.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.478e-05, allocations: 2.281 kB / 319.7 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004546/0.00457, allocations: 3.393 MB / 323.1 MB, free: 2.406 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.00595, allocations: 0.8921 MB / 324 MB, free: 1.512 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002119/0.006162, allocations: 11.94 kB / 324 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.006396, allocations: 83.16 kB / 324.1 MB, free: 1.418 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003522/0.006749, allocations: 154.6 kB / 324.2 MB, free: 1.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.007112, allocations: 171.6 kB / 324.4 MB, free: 1.098 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006237/0.007736, allocations: 0.6301 MB / 325 MB, free: 476 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003006/0.008037, allocations: 144.6 kB / 325.2 MB, free: 328 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003857/0.008422, allocations: 339.3 kB / 325.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.008693, allocations: 191.3 kB / 325.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.446e-05/0.008778, allocations: 56 kB / 325.8 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.91e-05/0.008847, allocations: 59.94 kB / 325.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.764e-05/0.008944, allocations: 119.6 kB / 325.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.009127, allocations: 191.5 kB / 326.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000601/0.009728, allocations: 0.6464 MB / 326.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.009731, allocations: 0 / 326.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.009732, allocations: 0 / 326.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.009739, allocations: 0 / 326.8 MB, free: 14.73 MB / 298.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.001229/0.01097, allocations: 0.8361 MB / 327.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.01101, allocations: 8.922 kB / 327.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.01112, allocations: 56.61 kB / 327.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/0.01158, allocations: 310.5 kB / 328 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/0.01162, allocations: 33.38 kB / 328 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.824e-05/0.01169, allocations: 44.38 kB / 328 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007035/0.01239, allocations: 487.8 kB / 328.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.01241, allocations: 192 / 328.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.172e-05/0.01245, allocations: 23.94 kB / 328.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.01246, allocations: 8 kB / 328.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005596/0.01302, allocations: 323.8 kB / 328.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.01498, allocations: 1.612 MB / 330.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/0.01544, allocations: 348.6 kB / 330.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/0.01578, allocations: 252.3 kB / 331.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.01581, allocations: 4.328 kB / 331.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002993/0.0161, allocations: 306.4 kB / 331.4 MB, free: 9.922 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.443e-06/0.01611, allocations: 0 / 331.4 MB, free: 9.922 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.001309/0.01742, allocations: 0.7681 MB / 332.1 MB, free: 9.145 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.01746, allocations: 89.11 kB / 332.2 MB, free: 9.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.01766, allocations: 296.5 kB / 332.5 MB, free: 8.738 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.01769, allocations: 33.7 kB / 332.5 MB, free: 8.699 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.01779, allocations: 221.3 kB / 332.8 MB, free: 8.477 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.833e-05/0.01786, allocations: 138.8 kB / 332.9 MB, free: 8.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.781e-05/0.01794, allocations: 90.14 kB / 333 MB, free: 8.246 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.986e-05/0.01803, allocations: 346.8 kB / 333.3 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.01818, allocations: 117 kB / 333.4 MB, free: 7.781 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.01838, allocations: 281.9 kB / 333.7 MB, free: 7.449 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.01872, allocations: 383.3 kB / 334.1 MB, free: 7.023 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01872, allocations: 3.938 kB / 334.1 MB, free: 7.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0005189/0.01924, allocations: 0.5016 MB / 334.6 MB, free: 6.508 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.01925, allocations: 8 kB / 334.6 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.01926, allocations: 7.984 kB / 334.6 MB, free: 6.492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002945/0.01956, allocations: 144.8 kB / 334.8 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.01968, allocations: 64 kB / 334.8 MB, free: 6.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.02144, allocations: 2.385 MB / 337.2 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.02156, allocations: 43.81 kB / 337.2 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.02158, allocations: 20 kB / 337.3 MB, free: 3.746 MB / 298.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.0001364/0.02171, allocations: 170.1 kB / 337.4 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.02175, allocations: 39.77 kB / 337.5 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.943e-05/0.0218, allocations: 39.48 kB / 337.5 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.0218, allocations: 8 kB / 337.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.0218, allocations: 0 / 337.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.02181, allocations: 11.92 kB / 337.5 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008438/0.02265, allocations: 0.8792 MB / 338.4 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.02265, allocations: 0 / 338.4 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.722e-05/0.02274, allocations: 31.98 kB / 338.4 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002309/0.02297, allocations: 159.1 kB / 338.6 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.02299, allocations: 8 kB / 338.6 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.02463, allocations: 2.377 MB / 341 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.02463, allocations: 3.938 kB / 341 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006622/0.02529, allocations: 0.7016 MB / 341.7 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.189e-05/0.02538, allocations: 75.64 kB / 341.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.02541, allocations: 12 kB / 341.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.02551, allocations: 11.98 kB / 341.8 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.02558, allocations: 35.92 kB / 341.8 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.0256, allocations: 20 kB / 341.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001258/0.02572, allocations: 203.1 kB / 342 MB, free: 14.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02572, allocations: 0 / 342 MB, free: 14.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00035/0.02607, allocations: 151.7 kB / 342.2 MB, free: 14.63 MB / 314.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.0001067/0.02618, allocations: 125.8 kB / 342.3 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005834/0.02676, allocations: 0.529 MB / 342.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.02676, allocations: 0 / 342.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.02707, allocations: 366.9 kB / 343.2 MB, free: 13.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.02735, allocations: 80.77 kB / 343.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.02837, allocations: 0.8563 MB / 344.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.02851, allocations: 228.7 kB / 344.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.02857, allocations: 28.5 kB / 344.4 MB, free: 12.35 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02857, allocations: 0 / 344.4 MB, free: 12.35 MB / 314.7 MB Notification: Performance of Templates: time 0.005704/0.03427, allocations: 7.057 MB / 351.4 MB, free: 5.328 MB / 314.7 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.369003704749048]