Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.001435/0.001435, allocations: 124.4 kB / 17.79 MB, free: 5.285 MB / 14.72 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.001569/0.001569, allocations: 207.3 kB / 20.75 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 47.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1055, allocations: 53.34 MB / 426.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.00547/0.111, allocations: 3.724 MB / 430.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2115/0.3225, allocations: 1.079 MB / 431.1 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005247/0.3231, allocations: 20.81 kB / 431.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004266/0.3235, allocations: 106.6 kB / 431.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009782/0.3245, allocations: 238 kB / 431.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.3249, allocations: 156.5 kB / 431.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001236/0.3261, allocations: 0.9708 MB / 432.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006288/0.3268, allocations: 452.1 kB / 433.1 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007143/0.3275, allocations: 428.7 kB / 433.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006773/0.3282, allocations: 0.5044 MB / 434 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.3283, allocations: 101.4 kB / 434.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00025/0.3286, allocations: 102.8 kB / 434.2 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002215/0.3288, allocations: 286 kB / 434.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004485/0.3293, allocations: 478 kB / 434.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.3306, allocations: 1.306 MB / 436.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.3306, allocations: 1.062 kB / 436.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3306, allocations: 4 kB / 436.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.125e-05/0.3306, allocations: 0.6094 kB / 436.2 MB, free: 6.926 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002084/0.3327, allocations: 1.207 MB / 437.5 MB, free: 6.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3328, allocations: 9.891 kB / 437.5 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001302/0.3329, allocations: 112.2 kB / 437.6 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004218/0.3333, allocations: 128.7 kB / 437.7 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008851/0.3342, allocations: 0.6619 MB / 438.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.3342, allocations: 50.12 kB / 438.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.3343, allocations: 68.03 kB / 438.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.3358, allocations: 0.9242 MB / 439.4 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.3359, allocations: 2.203 kB / 439.4 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.96e-05/0.3359, allocations: 26.34 kB / 439.4 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.671e-05/0.336, allocations: 29.8 kB / 439.5 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.3373, allocations: 0.7971 MB / 440.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003794/0.3411, allocations: 2.792 MB / 443 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000817/0.3419, allocations: 0.7072 MB / 443.8 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000531/0.3424, allocations: 317.7 kB / 444.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/0.3425, allocations: 3.672 kB / 444.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005817/0.3431, allocations: 378.3 kB / 444.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.315e-06/0.3431, allocations: 4 kB / 444.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002859/0.3459, allocations: 1.224 MB / 445.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.346, allocations: 120.9 kB / 445.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000703/0.3467, allocations: 0.5905 MB / 446.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.3467, allocations: 41.52 kB / 446.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.3469, allocations: 367.9 kB / 446.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.284e-05/0.347, allocations: 142.9 kB / 446.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.3472, allocations: 88.7 kB / 447 MB, free: 1.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.81e-05/0.3473, allocations: 366.9 kB / 447.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.3476, allocations: 217.8 kB / 447.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004361/0.3481, allocations: 367.2 kB / 447.9 MB, free: 472 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007715/0.3488, allocations: 0.5709 MB / 448.5 MB, free: 124 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3489, allocations: 1.156 kB / 448.5 MB, free: 124 kB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00139/0.3502, allocations: 0.7522 MB / 449.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.3503, allocations: 6 kB / 449.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.3503, allocations: 4.625 kB / 449.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005798/0.3509, allocations: 206.8 kB / 449.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.3512, allocations: 76.97 kB / 449.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003774/0.3549, allocations: 3.036 MB / 452.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.3554, allocations: 57.3 kB / 452.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.3554, allocations: 19.12 kB / 452.7 MB, free: 13.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (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.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {(3,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005445/0.356, allocations: 334.4 kB / 453 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.3561, allocations: 60.25 kB / 453 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.3562, allocations: 68.17 kB / 453.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.3562, allocations: 4.094 kB / 453.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3562, allocations: 2.625 kB / 453.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.3562, allocations: 3.188 kB / 453.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/0.359, allocations: 1.735 MB / 454.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.359, allocations: 0 / 454.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.3593, allocations: 41.84 kB / 454.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004644/0.3597, allocations: 202.5 kB / 455.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.3598, allocations: 14.64 kB / 455.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003446/0.3632, allocations: 2.911 MB / 458 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3632, allocations: 1.219 kB / 458 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.3652, allocations: 1.144 MB / 459.2 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003499/0.3656, allocations: 202.2 kB / 459.4 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.738e-05/0.3656, allocations: 11.27 kB / 459.4 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/0.3659, allocations: 23.83 kB / 459.4 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.3661, allocations: 46.45 kB / 459.4 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.3661, allocations: 13.28 kB / 459.4 MB, free: 8.863 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006078/0.3667, allocations: 432.7 kB / 459.9 MB, free: 8.613 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3667, allocations: 0 / 459.9 MB, free: 8.613 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008178/0.3675, allocations: 206.1 kB / 460.1 MB, free: 8.562 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00242/0.37, allocations: 1.718 MB / 461.8 MB, free: 7.324 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.3714, allocations: 0.7151 MB / 462.5 MB, free: 6.895 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.3714, allocations: 1.125 kB / 462.5 MB, free: 6.895 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007842/0.3722, allocations: 473.8 kB / 463 MB, free: 6.582 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008096/0.373, allocations: 147.3 kB / 463.1 MB, free: 6.516 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.3848, allocations: 6.633 MB / 469.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009271/0.3858, allocations: 1.073 MB / 470.8 MB, free: 1.438 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003201/0.3861, allocations: 98.05 kB / 470.9 MB, free: 1.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004432/0.3865, allocations: 249 kB / 471.2 MB, free: 1.188 MB / 366.1 MB Notification: Performance of SimCode: time 1.313e-06/0.3865, allocations: 0 / 471.2 MB, free: 1.188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05881/0.4453, allocations: 16.79 MB / 487.9 MB, free: 1.457 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.96, allocations: 0.75 kB / 487.9 MB, free: 1.457 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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: 15.376025278121233]