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.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.00125/0.00125, allocations: 121.4 kB / 18.45 MB, free: 4.477 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.00126/0.00126, allocations: 189.2 kB / 21.39 MB, free: 1.543 MB / 14.72 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 1.402/1.402, allocations: 207.6 MB / 231.8 MB, free: 4.207 MB / 174.1 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.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.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 47.92 kB / 342.2 MB, free: 10.04 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1058, allocations: 49.13 MB / 391.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.008611/0.1144, allocations: 6.21 MB / 397.6 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00407/0.1184, allocations: 1.702 MB / 399.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005402/0.119, allocations: 39.81 kB / 399.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006643/0.1197, allocations: 305.5 kB / 399.6 MB, free: 464 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.1209, allocations: 425.2 kB / 400 MB, free: 36 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007196/0.1216, allocations: 351.5 kB / 400.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002338/0.124, allocations: 2.152 MB / 402.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002142/0.1261, allocations: 1.757 MB / 404.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.1274, allocations: 1.024 MB / 405.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001683/0.1291, allocations: 1.23 MB / 406.5 MB, free: 9.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003575/0.1294, allocations: 296 kB / 406.8 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007085/0.1301, allocations: 447.6 kB / 407.3 MB, free: 8.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006847/0.1308, allocations: 0.7051 MB / 408 MB, free: 8.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.1322, allocations: 1.229 MB / 409.2 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003828/0.136, allocations: 3.636 MB / 412.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.136, allocations: 0 / 412.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.136, allocations: 0 / 412.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.526e-05/0.136, allocations: 0 / 412.8 MB, free: 3.133 MB / 334.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.004525/0.1406, allocations: 2.52 MB / 415.4 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.1406, allocations: 8.031 kB / 415.4 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003578/0.141, allocations: 299.7 kB / 415.7 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004268/0.1414, allocations: 243.5 kB / 415.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002161/0.1436, allocations: 1.19 MB / 417.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.1437, allocations: 152.5 kB / 417.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002915/0.144, allocations: 211.9 kB / 417.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004154/0.1481, allocations: 2.614 MB / 420.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.891e-05/0.1482, allocations: 0 / 420.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/0.1483, allocations: 80 kB / 420.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.821e-05/0.1484, allocations: 52 kB / 420.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003611/0.152, allocations: 2.081 MB / 422.3 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01154/0.1636, allocations: 7.332 MB / 429.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/0.1661, allocations: 2.277 MB / 431.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.1676, allocations: 0.8964 MB / 432.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.43e-05/0.1676, allocations: 9 kB / 432.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.1677, allocations: 47.56 kB / 432.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.477e-06/0.1677, allocations: 0 / 432.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.008069/0.1758, allocations: 4.184 MB / 437 MB, free: 10.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.1758, allocations: 72.34 kB / 437.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.177, allocations: 0.8641 MB / 438 MB, free: 9.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.044e-05/0.1771, allocations: 45.64 kB / 438 MB, free: 9.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006226/0.1777, allocations: 0.8514 MB / 438.8 MB, free: 8.316 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002895/0.178, allocations: 341.1 kB / 439.2 MB, free: 7.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002875/0.1783, allocations: 178.6 kB / 439.4 MB, free: 7.801 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.1785, allocations: 345.9 kB / 439.7 MB, free: 7.457 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008082/0.1793, allocations: 497.7 kB / 440.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.1803, allocations: 0.6655 MB / 440.8 MB, free: 6.234 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/0.1821, allocations: 1.213 MB / 442.1 MB, free: 4.957 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1821, allocations: 0 / 442.1 MB, free: 4.957 MB / 366.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002879/0.185, allocations: 1.617 MB / 443.7 MB, free: 3.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.185, allocations: 8 kB / 443.7 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.185, allocations: 4 kB / 443.7 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.1861, allocations: 474.9 kB / 444.1 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000666/0.1868, allocations: 171.7 kB / 444.3 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/0.1971, allocations: 9.297 MB / 453.6 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007498/0.1979, allocations: 43.95 kB / 453.7 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.591e-05/0.198, allocations: 36 kB / 453.7 MB, free: 8.734 MB / 382.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.001209/0.1992, allocations: 0.6418 MB / 454.3 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.1994, allocations: 111.3 kB / 454.4 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.1997, allocations: 130.4 kB / 454.6 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.908e-05/0.1997, allocations: 12 kB / 454.6 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.1997, allocations: 0 / 454.6 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.1997, allocations: 3.984 kB / 454.6 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006059/0.2058, allocations: 3.481 MB / 458.1 MB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2058, allocations: 3.938 kB / 458.1 MB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005457/0.2063, allocations: 127.8 kB / 458.2 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009957/0.2073, allocations: 459 kB / 458.6 MB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-05/0.2074, allocations: 16 kB / 458.7 MB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1867/0.3941, allocations: 9.202 MB / 467.9 MB, free: 58.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.3941, allocations: 10.36 kB / 467.9 MB, free: 58.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003494/0.3976, allocations: 2.296 MB / 470.2 MB, free: 58.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005775/0.3981, allocations: 282 kB / 470.4 MB, free: 57.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.3982, allocations: 19.48 kB / 470.5 MB, free: 57.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.3987, allocations: 43.69 kB / 470.5 MB, free: 57.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003032/0.399, allocations: 93.22 kB / 470.6 MB, free: 57.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.578e-05/0.399, allocations: 29.84 kB / 470.6 MB, free: 57.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007924/0.3998, allocations: 0.6066 MB / 471.2 MB, free: 57.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3998, allocations: 0 / 471.2 MB, free: 57.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001496/0.4013, allocations: 377.2 kB / 471.6 MB, free: 57.61 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.003629/0.4049, allocations: 2.889 MB / 474.5 MB, free: 56.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002624/0.4076, allocations: 1.777 MB / 476.3 MB, free: 55.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4076, allocations: 0 / 476.3 MB, free: 55.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00149/0.4091, allocations: 1.21 MB / 477.5 MB, free: 54.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.4104, allocations: 308.5 kB / 477.8 MB, free: 54.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/0.4248, allocations: 12.14 MB / 489.9 MB, free: 48.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009516/0.4257, allocations: 1.719 MB / 491.6 MB, free: 46.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000552/0.4263, allocations: 192.8 kB / 491.8 MB, free: 46.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005282/0.4268, allocations: 0.6165 MB / 492.4 MB, free: 45.52 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4268, allocations: 3.062 kB / 492.4 MB, free: 45.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06759/0.4944, allocations: 33.82 MB / 0.5139 GB, free: 11.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.42, allocations: 3.938 kB / 0.5139 GB, free: 11.6 MB / 382.1 MB " [Timeout remaining time 645] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 18.149364661891013]