Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.001242/0.001242, allocations: 125 kB / 17.79 MB, free: 5.121 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.001563/0.001563, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.403/1.403, allocations: 225.6 MB / 249.1 MB, free: 3.621 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.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 43.92 kB / 365.7 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09559/0.0971, allocations: 52.14 MB / 417.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005231/0.1023, allocations: 3.746 MB / 421.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.1039, allocations: 0.9154 MB / 422.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.1041, allocations: 8 kB / 422.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.1043, allocations: 71.23 kB / 422.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.1046, allocations: 158.6 kB / 422.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.1049, allocations: 163.7 kB / 422.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006304/0.1056, allocations: 0.6032 MB / 423.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002928/0.1059, allocations: 152.1 kB / 423.6 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.1061, allocations: 239.1 kB / 423.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003239/0.1065, allocations: 246.9 kB / 424.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.938e-05/0.1065, allocations: 56 kB / 424.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.886e-05/0.1066, allocations: 56 kB / 424.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.1067, allocations: 119.5 kB / 424.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002624/0.107, allocations: 262.8 kB / 424.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007032/0.1077, allocations: 0.638 MB / 425.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.1077, allocations: 0 / 425.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1077, allocations: 4 kB / 425.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.1077, allocations: 0 / 425.2 MB, free: 5.129 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001442/0.1092, allocations: 0.7919 MB / 426 MB, free: 4.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1092, allocations: 11.89 kB / 426 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.1093, allocations: 86.7 kB / 426.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.667e-05/0.1094, allocations: 60.56 kB / 426.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/0.1099, allocations: 376.3 kB / 426.5 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.1099, allocations: 29.38 kB / 426.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.44e-05/0.11, allocations: 52.12 kB / 426.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007593/0.1108, allocations: 461.5 kB / 427 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.1108, allocations: 0 / 427 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/0.1108, allocations: 16 kB / 427.1 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.1108, allocations: 12 kB / 427.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000591/0.1114, allocations: 323.7 kB / 427.4 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002565/0.114, allocations: 1.844 MB / 429.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008646/0.1149, allocations: 0.5735 MB / 429.8 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005846/0.1154, allocations: 245.3 kB / 430 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.1155, allocations: 8.328 kB / 430.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004898/0.116, allocations: 269.1 kB / 430.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.833e-06/0.116, allocations: 0 / 430.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.002318/0.1183, allocations: 0.8385 MB / 431.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/0.1184, allocations: 85.11 kB / 431.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.1187, allocations: 320.4 kB / 431.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.1188, allocations: 41.69 kB / 431.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.1189, allocations: 212.7 kB / 431.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.1191, allocations: 146.8 kB / 431.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.1192, allocations: 86.25 kB / 432 MB, free: 13.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1194, allocations: 346.8 kB / 432.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.1196, allocations: 121.1 kB / 432.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.1199, allocations: 253 kB / 432.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005606/0.1205, allocations: 378.5 kB / 433.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.1205, allocations: 7.938 kB / 433.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008836/0.1214, allocations: 0.5017 MB / 433.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.1214, allocations: 4 kB / 433.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.1214, allocations: 7.938 kB / 433.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000476/0.1219, allocations: 148.7 kB / 433.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.1221, allocations: 67.89 kB / 433.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003019/0.1251, allocations: 2.536 MB / 436.4 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.1254, allocations: 43.75 kB / 436.4 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.1254, allocations: 20 kB / 436.4 MB, free: 9.246 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 (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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002517/0.1257, allocations: 170.6 kB / 436.6 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.456e-05/0.1258, allocations: 47.66 kB / 436.6 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.978e-05/0.1259, allocations: 48.3 kB / 436.7 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.1259, allocations: 4 kB / 436.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.1259, allocations: 0 / 436.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.1259, allocations: 3.984 kB / 436.7 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.1274, allocations: 1.016 MB / 437.7 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1274, allocations: 0 / 437.7 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.1275, allocations: 39.97 kB / 437.8 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004238/0.128, allocations: 155.3 kB / 437.9 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.128, allocations: 11.94 kB / 437.9 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002985/0.131, allocations: 2.54 MB / 440.5 MB, free: 5.012 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.131, allocations: 3.938 kB / 440.5 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.1321, allocations: 0.7134 MB / 441.2 MB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/0.1323, allocations: 156.7 kB / 441.3 MB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.404e-05/0.1324, allocations: 8 kB / 441.3 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.1326, allocations: 15.98 kB / 441.4 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.477e-05/0.1326, allocations: 35.95 kB / 441.4 MB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.1327, allocations: 12 kB / 441.4 MB, free: 4.027 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002305/0.1329, allocations: 219.1 kB / 441.6 MB, free: 3.812 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1329, allocations: 0 / 441.6 MB, free: 3.812 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005681/0.1335, allocations: 143.8 kB / 441.8 MB, free: 3.672 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001492/0.135, allocations: 1.266 MB / 443 MB, free: 2.375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.136, allocations: 0.5212 MB / 443.5 MB, free: 1.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.136, allocations: 0 / 443.5 MB, free: 1.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000541/0.1365, allocations: 367 kB / 443.9 MB, free: 1.469 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.137, allocations: 81.3 kB / 444 MB, free: 1.391 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2173/0.3543, allocations: 3.922 MB / 447.9 MB, free: 28.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.3546, allocations: 0.8264 MB / 448.7 MB, free: 27.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001679/0.3548, allocations: 38.95 kB / 448.8 MB, free: 27.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.3549, allocations: 142.2 kB / 448.9 MB, free: 27.94 MB / 366.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3549, allocations: 2.719 kB / 448.9 MB, free: 27.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06035/0.4153, allocations: 10.82 MB / 459.7 MB, free: 26.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.65, allocations: 13.61 kB / 459.7 MB, free: 26.28 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.985355392098427]