Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.001754/0.001754, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002249/0.002249, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.576/1.576, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 47.94 kB / 373 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1132, allocations: 53.33 MB / 426.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005946/0.1192, allocations: 3.497 MB / 429.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.1215, allocations: 0.9425 MB / 430.8 MB, free: 280 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004258/0.1219, allocations: 7.938 kB / 430.8 MB, free: 272 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.1222, allocations: 71.3 kB / 430.9 MB, free: 200 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005655/0.1228, allocations: 122.9 kB / 431 MB, free: 76 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2095/0.3323, allocations: 157.7 kB / 431.1 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008898/0.3332, allocations: 0.5221 MB / 431.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002978/0.3335, allocations: 127.2 kB / 431.8 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003433/0.3339, allocations: 209.1 kB / 432 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.3341, allocations: 221.4 kB / 432.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.46e-05/0.3342, allocations: 46.34 kB / 432.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.3343, allocations: 48.84 kB / 432.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.453e-05/0.3344, allocations: 113.5 kB / 432.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.3346, allocations: 231.2 kB / 432.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005349/0.3351, allocations: 0.5445 MB / 433.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3351, allocations: 0 / 433.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3351, allocations: 0 / 433.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.3351, allocations: 1.906 kB / 433.2 MB, free: 7.375 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0012/0.3363, allocations: 0.7563 MB / 433.9 MB, free: 6.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3364, allocations: 9.469 kB / 433.9 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.685e-05/0.3365, allocations: 74.77 kB / 434 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002596/0.3367, allocations: 66.56 kB / 434.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.3371, allocations: 367.8 kB / 434.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.3371, allocations: 31.5 kB / 434.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.275e-05/0.3372, allocations: 35.16 kB / 434.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000604/0.3378, allocations: 397.3 kB / 434.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.3378, allocations: 0 / 434.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.3378, allocations: 18.38 kB / 434.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.3378, allocations: 9.266 kB / 434.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005121/0.3383, allocations: 259.3 kB / 435.2 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.3404, allocations: 1.498 MB / 436.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.3408, allocations: 215.2 kB / 436.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/0.3411, allocations: 157.1 kB / 437 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.3412, allocations: 8.609 kB / 437 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004083/0.3416, allocations: 229.1 kB / 437.3 MB, free: 5.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.304e-06/0.3416, allocations: 1.156 kB / 437.3 MB, free: 5.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001556/0.3431, allocations: 0.5902 MB / 437.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.3432, allocations: 116.2 kB / 438 MB, free: 5.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.3435, allocations: 309.8 kB / 438.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.3435, allocations: 34.48 kB / 438.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.3436, allocations: 225.3 kB / 438.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.819e-05/0.3437, allocations: 101.6 kB / 438.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.3438, allocations: 72.7 kB / 438.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.3439, allocations: 345.4 kB / 439 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.3441, allocations: 92.27 kB / 439.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.3443, allocations: 218.1 kB / 439.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.3447, allocations: 331.1 kB / 439.7 MB, free: 3.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.3447, allocations: 1.062 kB / 439.7 MB, free: 3.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006837/0.3454, allocations: 418 kB / 440.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3455, allocations: 7.406 kB / 440.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.3455, allocations: 4.719 kB / 440.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003244/0.3458, allocations: 84.47 kB / 440.2 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.346, allocations: 61.84 kB / 440.2 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.3477, allocations: 1.994 MB / 442.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.348, allocations: 41.39 kB / 442.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.348, allocations: 22.03 kB / 442.3 MB, free: 1.844 MB / 350.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: 11 (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_n.off,rectifier.diode_p.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002015/0.3482, allocations: 170.9 kB / 442.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.452e-05/0.3482, allocations: 34.06 kB / 442.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.845e-05/0.3483, allocations: 39.58 kB / 442.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3483, allocations: 4.297 kB / 442.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.3483, allocations: 3.812 kB / 442.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.3483, allocations: 4.516 kB / 442.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006326/0.349, allocations: 0.5815 MB / 443.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.349, allocations: 0.7969 kB / 443.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.3491, allocations: 30.7 kB / 443.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002294/0.3494, allocations: 75.06 kB / 443.2 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.3494, allocations: 8.703 kB / 443.2 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/0.3513, allocations: 2 MB / 445.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3513, allocations: 2.531 kB / 445.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009908/0.3523, allocations: 491.9 kB / 445.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.3524, allocations: 149.6 kB / 445.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.3525, allocations: 6.844 kB / 445.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.3526, allocations: 14.5 kB / 445.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.156e-05/0.3527, allocations: 27.75 kB / 445.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.3528, allocations: 13.8 kB / 445.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000259/0.353, allocations: 217 kB / 446.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.353, allocations: 1.156 kB / 446.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005225/0.3535, allocations: 106.2 kB / 446.2 MB, free: 14.89 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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001315/0.3549, allocations: 1.059 MB / 447.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008632/0.3557, allocations: 406.8 kB / 447.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3557, allocations: 1.125 kB / 447.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004436/0.3562, allocations: 269.2 kB / 447.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.3565, allocations: 70.22 kB / 448 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005113/0.3617, allocations: 3.479 MB / 451.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/0.3622, allocations: 0.8112 MB / 452.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.3623, allocations: 37.95 kB / 452.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.3625, allocations: 129.4 kB / 452.5 MB, free: 10.58 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3625, allocations: 0 / 452.5 MB, free: 10.58 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04175/0.4043, allocations: 8.557 MB / 461 MB, free: 8.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.6, allocations: 5.125 kB / 461 MB, free: 8.137 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.125663756858557]