Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.001782/0.001782, allocations: 127.9 kB / 17.79 MB, free: 5.246 MB / 14.72 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.00234/0.00234, allocations: 185.2 kB / 20.73 MB, free: 2.316 MB / 14.72 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 1.449/1.449, allocations: 225.6 MB / 249.1 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_0_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_0_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.001444/0.001444, allocations: 51.91 kB / 365.7 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1053, allocations: 52.13 MB / 417.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005632/0.111, allocations: 3.47 MB / 421.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.113, allocations: 0.8413 MB / 422.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002253/0.1132, allocations: 8 kB / 422.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.1134, allocations: 71.3 kB / 422.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003352/0.1137, allocations: 134.8 kB / 422.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.1141, allocations: 131.8 kB / 422.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006615/0.1147, allocations: 0.5175 MB / 423 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000297/0.115, allocations: 129.8 kB / 423.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.1153, allocations: 191.2 kB / 423.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.1156, allocations: 215 kB / 423.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.187e-05/0.1157, allocations: 48 kB / 423.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.71e-05/0.1158, allocations: 44 kB / 423.6 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.1159, allocations: 103.6 kB / 423.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000235/0.1161, allocations: 238.8 kB / 423.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006405/0.1167, allocations: 0.5213 MB / 424.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1168, allocations: 0 / 424.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1168, allocations: 4 kB / 424.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.1168, allocations: 0 / 424.4 MB, free: 5.898 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.001441/0.1182, allocations: 0.7321 MB / 425.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1183, allocations: 15.89 kB / 425.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/0.1184, allocations: 74.72 kB / 425.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.358e-05/0.1185, allocations: 60.59 kB / 425.3 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004724/0.1189, allocations: 344.5 kB / 425.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/0.119, allocations: 29.38 kB / 425.7 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.158e-05/0.119, allocations: 44.3 kB / 425.7 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007218/0.1198, allocations: 395.8 kB / 426.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.1198, allocations: 0 / 426.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.57e-05/0.1198, allocations: 19.94 kB / 426.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.1198, allocations: 8 kB / 426.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005115/0.1203, allocations: 255.9 kB / 426.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/0.1225, allocations: 1.492 MB / 427.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000415/0.1229, allocations: 215.4 kB / 428.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/0.1232, allocations: 153.9 kB / 428.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.1233, allocations: 12.16 kB / 428.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004048/0.1237, allocations: 230.5 kB / 428.5 MB, free: 1.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.094e-06/0.1237, allocations: 0 / 428.5 MB, free: 1.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.00151/0.1252, allocations: 0.589 MB / 429.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.073e-05/0.1253, allocations: 106.8 kB / 429.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.1256, allocations: 292.5 kB / 429.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.1256, allocations: 33.7 kB / 429.5 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.1258, allocations: 220.7 kB / 429.7 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.727e-05/0.1259, allocations: 107.1 kB / 429.8 MB, free: 208 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.126, allocations: 70.06 kB / 429.9 MB, free: 128 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.1262, allocations: 346.8 kB / 430.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.1264, allocations: 88.7 kB / 430.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.1267, allocations: 221.5 kB / 430.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004896/0.1272, allocations: 327.1 kB / 430.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.1272, allocations: 3.938 kB / 430.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007059/0.1279, allocations: 406.1 kB / 431.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.1279, allocations: 11.98 kB / 431.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.1279, allocations: 4 kB / 431.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002989/0.1282, allocations: 89.25 kB / 431.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.1284, allocations: 59.91 kB / 431.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.1306, allocations: 1.998 MB / 433.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.1309, allocations: 39.77 kB / 433.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.1309, allocations: 16 kB / 433.5 MB, free: 12.28 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: 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.0002198/0.1311, allocations: 173.8 kB / 433.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.1312, allocations: 31.81 kB / 433.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.905e-05/0.1312, allocations: 39.09 kB / 433.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1312, allocations: 4 kB / 433.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1312, allocations: 48 / 433.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.1312, allocations: 3.984 kB / 433.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007225/0.132, allocations: 0.577 MB / 434.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.132, allocations: 4 kB / 434.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.1321, allocations: 23.98 kB / 434.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002402/0.1324, allocations: 84.75 kB / 434.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.1324, allocations: 3.984 kB / 434.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.1344, allocations: 1.991 MB / 436.4 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1344, allocations: 8.156 kB / 436.4 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009182/0.1353, allocations: 494.9 kB / 436.9 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.1355, allocations: 144.8 kB / 437 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.1356, allocations: 8 kB / 437 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.1357, allocations: 15.98 kB / 437 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.733e-05/0.1358, allocations: 23.97 kB / 437.1 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.1358, allocations: 15.92 kB / 437.1 MB, free: 8.395 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002354/0.1361, allocations: 207.1 kB / 437.3 MB, free: 8.191 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1361, allocations: 0 / 437.3 MB, free: 8.191 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005014/0.1366, allocations: 115.8 kB / 437.4 MB, free: 8.078 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.001365/0.1379, allocations: 1.048 MB / 438.4 MB, free: 6.996 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009139/0.1389, allocations: 418.1 kB / 438.8 MB, free: 6.574 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1389, allocations: 1 kB / 438.8 MB, free: 6.574 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004406/0.1393, allocations: 270.5 kB / 439.1 MB, free: 6.297 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.1397, allocations: 55.69 kB / 439.2 MB, free: 6.246 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004993/0.1447, allocations: 3.411 MB / 442.6 MB, free: 2.637 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/0.1451, allocations: 0.8028 MB / 443.4 MB, free: 1.809 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001403/0.1453, allocations: 38.91 kB / 443.4 MB, free: 1.773 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.1455, allocations: 127.4 kB / 443.5 MB, free: 1.652 MB / 366.1 MB Notification: Performance of SimCode: time 9.31e-07/0.1455, allocations: 0 / 443.5 MB, free: 1.652 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2571/0.4026, allocations: 8.317 MB / 451.9 MB, free: 30.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.46, allocations: 12.31 kB / 451.9 MB, free: 30.28 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 14.864906650036573]