Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.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.001809/0.001809, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.00229/0.00229, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.405/1.405, 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.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 51.91 kB / 365.6 MB, free: 0.957 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09588/0.09736, allocations: 52.14 MB / 417.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007677/0.105, allocations: 6.267 MB / 424 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003549/0.1086, allocations: 1.647 MB / 425.7 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005304/0.1091, allocations: 43.88 kB / 425.7 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006118/0.1097, allocations: 313.5 kB / 426 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.1109, allocations: 429.1 kB / 426.5 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000625/0.1116, allocations: 343.6 kB / 426.8 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002262/0.1138, allocations: 2.133 MB / 428.9 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002422/0.1162, allocations: 1.805 MB / 430.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00171/0.1179, allocations: 1.024 MB / 431.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/0.1199, allocations: 1.237 MB / 433 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000367/0.1202, allocations: 288 kB / 433.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000724/0.1209, allocations: 443.7 kB / 433.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006332/0.1216, allocations: 0.709 MB / 434.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.1229, allocations: 1.237 MB / 435.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004242/0.1271, allocations: 3.632 MB / 439.3 MB, free: 7.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1271, allocations: 0 / 439.3 MB, free: 7.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1271, allocations: 3.938 kB / 439.3 MB, free: 7.066 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.851e-05/0.1272, allocations: 0 / 439.3 MB, free: 7.066 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.004415/0.1316, allocations: 2.528 MB / 441.8 MB, free: 4.473 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1317, allocations: 8.031 kB / 441.8 MB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003613/0.132, allocations: 311.6 kB / 442.1 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000381/0.1324, allocations: 235.5 kB / 442.4 MB, free: 3.918 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002325/0.1347, allocations: 1.291 MB / 443.6 MB, free: 2.578 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.1349, allocations: 152.5 kB / 443.8 MB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002988/0.1352, allocations: 207.9 kB / 444 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2075/0.3426, allocations: 2.612 MB / 446.6 MB, free: 27.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.714e-05/0.3427, allocations: 2.5 kB / 446.6 MB, free: 27.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001771/0.3429, allocations: 87.38 kB / 446.7 MB, free: 27.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.032e-05/0.3429, allocations: 51.53 kB / 446.8 MB, free: 27.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00316/0.3461, allocations: 2.082 MB / 448.8 MB, free: 27.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01084/0.3569, allocations: 7.312 MB / 456.1 MB, free: 24.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/0.359, allocations: 2.279 MB / 458.4 MB, free: 23.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001565/0.3606, allocations: 0.8905 MB / 459.3 MB, free: 22.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.375e-05/0.3606, allocations: 13.7 kB / 459.3 MB, free: 22.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.3607, allocations: 44.34 kB / 459.4 MB, free: 22.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.426e-06/0.3607, allocations: 0.625 kB / 459.4 MB, free: 22.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.007692/0.3683, allocations: 4.191 MB / 463.6 MB, free: 20.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.3684, allocations: 63.52 kB / 463.6 MB, free: 20.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.3695, allocations: 0.8619 MB / 464.5 MB, free: 20.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.314e-05/0.3696, allocations: 41.83 kB / 464.5 MB, free: 20.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004673/0.3701, allocations: 0.8564 MB / 465.4 MB, free: 19.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/0.3703, allocations: 343.4 kB / 465.7 MB, free: 19.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.3705, allocations: 173.6 kB / 465.9 MB, free: 19.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.823e-05/0.3705, allocations: 346.2 kB / 466.2 MB, free: 19.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006475/0.3712, allocations: 499.7 kB / 466.7 MB, free: 19.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007169/0.3719, allocations: 0.6705 MB / 467.4 MB, free: 18.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.3733, allocations: 1.209 MB / 468.6 MB, free: 17.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3733, allocations: 1.062 kB / 468.6 MB, free: 17.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002204/0.3755, allocations: 1.621 MB / 470.2 MB, free: 17.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.3755, allocations: 11.47 kB / 470.2 MB, free: 17.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.3755, allocations: 6.344 kB / 470.2 MB, free: 17.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009621/0.3765, allocations: 467.2 kB / 470.7 MB, free: 16.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006336/0.3771, allocations: 175.6 kB / 470.9 MB, free: 16.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006925/0.3841, allocations: 9.301 MB / 480.2 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007063/0.3848, allocations: 40.59 kB / 480.2 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.868e-05/0.3848, allocations: 38.2 kB / 480.2 MB, free: 8.531 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0009845/0.3858, allocations: 0.6378 MB / 480.9 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.386, allocations: 111.1 kB / 481 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.3862, allocations: 135.2 kB / 481.1 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.578e-05/0.3862, allocations: 10.94 kB / 481.1 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/0.3863, allocations: 6.781 kB / 481.1 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.3863, allocations: 3.984 kB / 481.1 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004967/0.3912, allocations: 3.466 MB / 484.6 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.3912, allocations: 4 kB / 484.6 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004693/0.3917, allocations: 122.6 kB / 484.7 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007455/0.3925, allocations: 454.6 kB / 485.2 MB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.866e-05/0.3925, allocations: 26.75 kB / 485.2 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007119/0.3996, allocations: 9.21 MB / 494.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3996, allocations: 3.938 kB / 494.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/0.4032, allocations: 2.296 MB / 496.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006203/0.4039, allocations: 288.3 kB / 497 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.404, allocations: 21.42 kB / 497 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/0.4044, allocations: 47.89 kB / 497.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/0.4046, allocations: 88.86 kB / 497.1 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-05/0.4047, allocations: 20 kB / 497.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008153/0.4055, allocations: 0.6044 MB / 497.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4055, allocations: 0 / 497.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001689/0.4072, allocations: 383.9 kB / 498.1 MB, free: 9.875 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003997/0.4112, allocations: 2.902 MB / 0.4893 GB, free: 6.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002808/0.414, allocations: 1.779 MB / 0.491 GB, free: 5.105 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.414, allocations: 4 kB / 0.491 GB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001766/0.4157, allocations: 1.205 MB / 0.4922 GB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.4172, allocations: 313 kB / 0.4925 GB, free: 3.555 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01954/0.4367, allocations: 12.12 MB / 0.5044 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001776/0.4385, allocations: 1.722 MB / 0.506 GB, free: 5.406 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000549/0.439, allocations: 188.9 kB / 0.5062 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007714/0.4398, allocations: 0.6165 MB / 0.5068 GB, free: 4.602 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4398, allocations: 0 / 0.5068 GB, free: 4.602 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08733/0.5271, allocations: 33.82 MB / 0.5398 GB, free: 3.117 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/14.29, allocations: 4.062 kB / 0.5398 GB, free: 3.117 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 18.118786374107003]