Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.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.000796/0.000796, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003368/0.003368, allocations: 163.4 kB / 24.69 MB, free: 9.41 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8239/0.8239, allocations: 158.6 MB / 186.5 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15e-05/1.284e-05, allocations: 2.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.1205/0.1205, allocations: 5.484 MB / 303.9 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.1224, allocations: 1.655 MB / 305.6 MB, free: 12.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002753/0.1227, allocations: 47.5 kB / 305.6 MB, free: 12.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003954/0.1231, allocations: 310.4 kB / 305.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007636/0.1239, allocations: 449 kB / 306.4 MB, free: 11.7 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.1243, allocations: 359.5 kB / 306.7 MB, free: 11.49 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001193/0.1255, allocations: 2.216 MB / 308.9 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.1265, allocations: 1.317 MB / 310.2 MB, free: 9.641 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.1276, allocations: 1.553 MB / 311.8 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00093/0.1285, allocations: 1.039 MB / 312.8 MB, free: 8.508 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002598/0.1288, allocations: 289.8 kB / 313.1 MB, free: 8.508 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000463/0.1292, allocations: 413.4 kB / 313.5 MB, free: 8.473 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003875/0.1296, allocations: 0.728 MB / 314.3 MB, free: 8.016 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007155/0.1303, allocations: 0.8534 MB / 315.1 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002103/0.1324, allocations: 3.666 MB / 318.8 MB, free: 5.777 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1324, allocations: 3.938 kB / 318.8 MB, free: 5.773 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1324, allocations: 0 / 318.8 MB, free: 5.773 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.09e-05/0.1325, allocations: 0 / 318.8 MB, free: 5.773 MB / 282.7 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.002483/0.1349, allocations: 2.423 MB / 321.2 MB, free: 4.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.135, allocations: 15.42 kB / 321.2 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002277/0.1352, allocations: 302.3 kB / 321.5 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002696/0.1355, allocations: 241.2 kB / 321.7 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.1366, allocations: 1.127 MB / 322.9 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.23e-05/0.1367, allocations: 160.8 kB / 323 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.1368, allocations: 209.9 kB / 323.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/0.1393, allocations: 2.633 MB / 325.9 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.1393, allocations: 9.031 kB / 325.9 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.1394, allocations: 81.22 kB / 326 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.7e-05/0.1395, allocations: 51.94 kB / 326 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.1414, allocations: 2.077 MB / 328.1 MB, free: 32 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006368/0.1478, allocations: 6.629 MB / 334.7 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.149, allocations: 1.315 MB / 336 MB, free: 8.781 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009067/0.1499, allocations: 0.8794 MB / 336.9 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.15, allocations: 13 kB / 336.9 MB, free: 7.891 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.15, allocations: 39.56 kB / 337 MB, free: 7.844 MB / 298.7 MB Notification: Performance of pre-optimization done (n=96): time 2.274e-06/0.15, allocations: 0 / 337 MB, free: 7.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=97): time 0.004517/0.1545, allocations: 3.895 MB / 340.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.1545, allocations: 60.41 kB / 340.9 MB, free: 3.828 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006962/0.1552, allocations: 0.8757 MB / 341.8 MB, free: 2.938 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.384e-05/0.1553, allocations: 41.7 kB / 341.8 MB, free: 2.891 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003664/0.1556, allocations: 0.8475 MB / 342.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.1558, allocations: 337.1 kB / 343 MB, free: 1.699 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.156, allocations: 170.6 kB / 343.2 MB, free: 1.527 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.367e-05/0.1561, allocations: 349.9 kB / 343.5 MB, free: 1.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/0.1566, allocations: 0.4938 MB / 344 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005786/0.1572, allocations: 0.6694 MB / 344.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.1583, allocations: 1.201 MB / 345.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.1583, allocations: 11.92 kB / 345.9 MB, free: 14.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001657/0.1599, allocations: 1.616 MB / 347.5 MB, free: 13.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1599, allocations: 8.312 kB / 347.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.16, allocations: 8 kB / 347.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006313/0.1606, allocations: 462.9 kB / 348 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.1609, allocations: 171.8 kB / 348.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005588/0.1665, allocations: 8.814 MB / 357 MB, free: 3.109 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.1668, allocations: 47.95 kB / 357 MB, free: 3.062 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.1669, allocations: 38.27 kB / 357 MB, free: 3.027 MB / 314.7 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.0006195/0.1675, allocations: 0.634 MB / 357.7 MB, free: 2.383 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.1676, allocations: 111.3 kB / 357.8 MB, free: 2.273 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.1677, allocations: 134 kB / 357.9 MB, free: 2.141 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.1677, allocations: 15.94 kB / 357.9 MB, free: 2.125 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1677, allocations: 4.062 kB / 357.9 MB, free: 2.121 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1678, allocations: 7.984 kB / 357.9 MB, free: 2.113 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00337/0.1711, allocations: 3.321 MB / 361.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1711, allocations: 4 kB / 361.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.1714, allocations: 131.8 kB / 361.4 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005502/0.172, allocations: 447 kB / 361.8 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/0.172, allocations: 27.94 kB / 361.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005163/0.1772, allocations: 8.727 MB / 370.6 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1772, allocations: 128 / 370.6 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.1793, allocations: 2.301 MB / 372.9 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002751/0.1796, allocations: 211.4 kB / 373.1 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.747e-05/0.1797, allocations: 27.92 kB / 373.1 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.1799, allocations: 43.95 kB / 373.2 MB, free: 2.316 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.1801, allocations: 88.77 kB / 373.2 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/0.1801, allocations: 28 kB / 373.3 MB, free: 2.203 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004997/0.1806, allocations: 0.6044 MB / 373.9 MB, free: 1.602 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1806, allocations: 3.938 kB / 373.9 MB, free: 1.598 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009137/0.1815, allocations: 379.9 kB / 374.3 MB, free: 1.227 MB / 330.7 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.002502/0.184, allocations: 2.89 MB / 377.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001643/0.1856, allocations: 1.783 MB / 378.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1857, allocations: 0 / 378.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009649/0.1866, allocations: 1.204 MB / 380.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007576/0.1874, allocations: 303.1 kB / 380.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/0.1994, allocations: 12.11 MB / 392.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008199/0.2002, allocations: 1.142 MB / 393.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003225/0.2005, allocations: 188.9 kB / 393.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004996/0.201, allocations: 0.6136 MB / 394.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.201, allocations: 0 / 394.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04689/0.2479, allocations: 34.82 MB / 429.3 MB, free: 9.574 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.947/9.195, allocations: 3.906 kB / 429.3 MB, free: 9.57 MB / 394.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.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: 11.66457427944988]