Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.001266/0.001266, allocations: 110 kB / 20.43 MB, free: 1.453 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.001466/0.001466, allocations: 210.7 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 63.89 kB / 377.8 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2721, allocations: 53.41 MB / 431.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005624/0.2777, allocations: 3.525 MB / 434.7 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.2799, allocations: 0.9386 MB / 435.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003935/0.2803, allocations: 11.94 kB / 435.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.2806, allocations: 67.3 kB / 435.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004888/0.2811, allocations: 130.8 kB / 435.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004791/0.2816, allocations: 159.7 kB / 436 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007666/0.2823, allocations: 0.5331 MB / 436.6 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003021/0.2826, allocations: 119.3 kB / 436.7 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003883/0.283, allocations: 211.2 kB / 436.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003904/0.2834, allocations: 219 kB / 437.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.2835, allocations: 44 kB / 437.1 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.2836, allocations: 52 kB / 437.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.2838, allocations: 119.5 kB / 437.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002959/0.2841, allocations: 230.8 kB / 437.5 MB, free: 312 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007437/0.2848, allocations: 0.5403 MB / 438.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2848, allocations: 0 / 438.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2848, allocations: 0 / 438.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.313e-05/0.2849, allocations: 0 / 438.1 MB, free: 15.76 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.001708/0.2866, allocations: 0.7855 MB / 438.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2866, allocations: 8.031 kB / 438.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.2867, allocations: 74.72 kB / 438.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003026/0.287, allocations: 76.58 kB / 439 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005407/0.2875, allocations: 299.1 kB / 439.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.2876, allocations: 25.38 kB / 439.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.659e-05/0.2876, allocations: 40.38 kB / 439.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007082/0.2883, allocations: 391.8 kB / 439.8 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.2884, allocations: 7.938 kB / 439.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/0.2884, allocations: 16 kB / 439.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.2884, allocations: 15.94 kB / 439.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005468/0.289, allocations: 255.9 kB / 440 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00241/0.2914, allocations: 1.461 MB / 441.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/0.2918, allocations: 223.4 kB / 441.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003785/0.2922, allocations: 156.6 kB / 441.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.2922, allocations: 8.234 kB / 441.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004349/0.2927, allocations: 226 kB / 442.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.823e-06/0.2927, allocations: 0 / 442.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001512/0.2942, allocations: 0.5034 MB / 442.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/0.2943, allocations: 110.8 kB / 442.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/0.2946, allocations: 308.5 kB / 443 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.2947, allocations: 37.7 kB / 443.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.2948, allocations: 220.7 kB / 443.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.449e-05/0.2949, allocations: 107.1 kB / 443.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.2951, allocations: 70.06 kB / 443.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.2952, allocations: 342.8 kB / 443.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.2954, allocations: 92.7 kB / 443.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.2957, allocations: 229.5 kB / 444.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005093/0.2963, allocations: 326.1 kB / 444.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.2963, allocations: 0 / 444.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007682/0.297, allocations: 421.9 kB / 444.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.297, allocations: 8 kB / 444.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.2971, allocations: 4 kB / 444.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00032/0.2974, allocations: 76.81 kB / 444.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.2976, allocations: 64.06 kB / 445 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.2998, allocations: 1.899 MB / 446.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.3, allocations: 43.7 kB / 446.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.3, allocations: 16 kB / 446.9 MB, free: 6.387 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_p.off,rectifier.diode_n.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.0002057/0.3003, allocations: 173.7 kB / 447.1 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.181e-05/0.3003, allocations: 43.7 kB / 447.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.931e-05/0.3004, allocations: 43.95 kB / 447.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.3004, allocations: 4 kB / 447.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3004, allocations: 0 / 447.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3004, allocations: 0 / 447.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006944/0.3011, allocations: 0.545 MB / 447.7 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.3011, allocations: 4 kB / 447.7 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.3013, allocations: 27.92 kB / 447.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003117/0.3016, allocations: 84.83 kB / 447.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.3016, allocations: 4 kB / 447.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002144/0.3038, allocations: 1.895 MB / 449.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.3038, allocations: 4.031 kB / 449.8 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009486/0.3047, allocations: 0.4911 MB / 450.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.3049, allocations: 71.64 kB / 450.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.558e-05/0.3049, allocations: 4 kB / 450.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.3051, allocations: 15.98 kB / 450.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.275e-05/0.3051, allocations: 28.14 kB / 450.4 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.3052, allocations: 8 kB / 450.4 MB, free: 2.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002367/0.3054, allocations: 226.9 kB / 450.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3054, allocations: 0 / 450.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004748/0.3059, allocations: 119.8 kB / 450.7 MB, free: 2.41 MB / 350.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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.off,rectifier.diode_p.off) * 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.001347/0.3072, allocations: 1.048 MB / 451.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007808/0.308, allocations: 411 kB / 452.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.308, allocations: 0 / 452.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004187/0.3084, allocations: 279.5 kB / 452.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.3088, allocations: 55.73 kB / 452.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004915/0.3137, allocations: 3.481 MB / 456 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.3141, allocations: 0.8035 MB / 456.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.3143, allocations: 42.94 kB / 456.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.3145, allocations: 127.4 kB / 456.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3145, allocations: 3.938 kB / 456.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04358/0.3581, allocations: 8.771 MB / 465.7 MB, free: 3.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.42, allocations: 11.98 kB / 465.7 MB, free: 3.309 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.773041702108458]