Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.001218/0.001218, allocations: 116.8 kB / 19.17 MB, free: 3.895 MB / 14.72 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.001324/0.001324, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.41/1.41, allocations: 230.4 MB / 255.4 MB, free: 15 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-beta.om/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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 59.91 kB / 374.8 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09733/0.0992, allocations: 53.31 MB / 428.1 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005321/0.1045, allocations: 3.728 MB / 431.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.187/0.2915, allocations: 1.074 MB / 432.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002844/0.2918, allocations: 15.94 kB / 432.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.2921, allocations: 110.8 kB / 433 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006864/0.2928, allocations: 239.3 kB / 433.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.2931, allocations: 157.9 kB / 433.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008569/0.2939, allocations: 0.96 MB / 434.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004944/0.2944, allocations: 462.2 kB / 434.8 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000462/0.2949, allocations: 424.5 kB / 435.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006445/0.2955, allocations: 0.4958 MB / 435.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.2957, allocations: 101.4 kB / 435.8 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.2959, allocations: 102.9 kB / 435.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002476/0.2962, allocations: 288.6 kB / 436.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004398/0.2966, allocations: 476.1 kB / 436.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.2979, allocations: 1.305 MB / 438 MB, free: 7.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2979, allocations: 1.938 kB / 438 MB, free: 7.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2979, allocations: 0 / 438 MB, free: 7.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.2979, allocations: 4.516 kB / 438 MB, free: 7.117 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.002035/0.3, allocations: 1.209 MB / 439.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3, allocations: 10.88 kB / 439.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004337/0.3004, allocations: 124.2 kB / 439.3 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008945/0.3013, allocations: 0.6679 MB / 440 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/0.3014, allocations: 47.73 kB / 440 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.3015, allocations: 72.84 kB / 440.1 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.303, allocations: 0.9126 MB / 441 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.303, allocations: 5 kB / 441 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.857e-05/0.3031, allocations: 24.03 kB / 441 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.745e-05/0.3031, allocations: 33.52 kB / 441.1 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.3044, allocations: 0.7968 MB / 441.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003844/0.3082, allocations: 2.791 MB / 444.7 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007601/0.309, allocations: 0.7106 MB / 445.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005357/0.3095, allocations: 313.7 kB / 445.7 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.3096, allocations: 8.719 kB / 445.7 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005757/0.3102, allocations: 381.1 kB / 446 MB, free: 2.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.933e-06/0.3102, allocations: 0 / 446 MB, free: 2.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002829/0.313, allocations: 1.226 MB / 447.3 MB, free: 2.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.313, allocations: 116.8 kB / 447.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007346/0.3138, allocations: 0.5842 MB / 448 MB, free: 1.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.3138, allocations: 36.58 kB / 448 MB, free: 1.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.314, allocations: 371.6 kB / 448.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.475e-05/0.3141, allocations: 141 kB / 448.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.3143, allocations: 94.89 kB / 448.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.3144, allocations: 367.4 kB / 449 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.3148, allocations: 221.7 kB / 449.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/0.3152, allocations: 368.7 kB / 449.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007495/0.3159, allocations: 0.5686 MB / 450.1 MB, free: 368 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3159, allocations: 1.25 kB / 450.1 MB, free: 368 kB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001221/0.3172, allocations: 0.7439 MB / 450.9 MB, free: 56 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.3172, allocations: 15.52 kB / 450.9 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3172, allocations: 5.25 kB / 450.9 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006006/0.3178, allocations: 211.7 kB / 451.1 MB, free: 0 / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.3181, allocations: 74.91 kB / 451.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003741/0.3219, allocations: 3.035 MB / 454.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005071/0.3224, allocations: 56.52 kB / 454.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.3224, allocations: 19.31 kB / 454.3 MB, free: 13.76 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.0005554/0.323, allocations: 336.3 kB / 454.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.3231, allocations: 62.59 kB / 454.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.3232, allocations: 65.5 kB / 454.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3232, allocations: 5.344 kB / 454.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3232, allocations: 3.219 kB / 454.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3233, allocations: 1.375 kB / 454.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002791/0.326, allocations: 1.739 MB / 456.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3261, allocations: 1.281 kB / 456.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.3263, allocations: 41.91 kB / 456.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004668/0.3268, allocations: 197.4 kB / 456.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.3268, allocations: 20.39 kB / 456.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003276/0.3301, allocations: 2.911 MB / 459.6 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3301, allocations: 1.062 kB / 459.6 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.332, allocations: 1.144 MB / 460.8 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.3323, allocations: 206.5 kB / 461 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.185e-05/0.3324, allocations: 7.156 kB / 461 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.3327, allocations: 30.91 kB / 461 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.3328, allocations: 43.44 kB / 461.1 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.3329, allocations: 12.06 kB / 461.1 MB, free: 9.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005766/0.3334, allocations: 431.7 kB / 461.5 MB, free: 8.805 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3334, allocations: 0 / 461.5 MB, free: 8.805 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008225/0.3343, allocations: 202.5 kB / 461.7 MB, free: 8.758 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.0001827/0.3344, allocations: 128 kB / 461.8 MB, free: 8.652 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.3358, allocations: 0.7174 MB / 462.5 MB, free: 8.223 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3358, allocations: 0 / 462.5 MB, free: 8.223 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007411/0.3365, allocations: 461.2 kB / 463 MB, free: 7.926 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007314/0.3373, allocations: 150.7 kB / 463.1 MB, free: 7.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.3402, allocations: 1.615 MB / 464.7 MB, free: 6.898 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007365/0.341, allocations: 1.063 MB / 465.8 MB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.3411, allocations: 46.05 kB / 465.9 MB, free: 5.996 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3411, allocations: 0 / 465.9 MB, free: 5.996 MB / 366.1 MB Notification: Performance of Templates: time 0.0181/0.3592, allocations: 13.17 MB / 479 MB, free: 11.96 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.015803267946467]