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.001334/0.001334, allocations: 112 kB / 20.43 MB, free: 1.457 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.001503/0.001503, allocations: 184.6 kB / 23.72 MB, free: 4.699 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.381/1.381, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.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.001699/0.001699, allocations: 43.94 kB / 370.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2939, allocations: 52.18 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008666/0.3025, allocations: 6.291 MB / 428.9 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004327/0.3069, allocations: 1.655 MB / 430.6 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.3082, allocations: 55.69 kB / 430.6 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.3093, allocations: 309.5 kB / 430.9 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002273/0.3116, allocations: 445.2 kB / 431.4 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.3127, allocations: 339.6 kB / 431.7 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003566/0.3163, allocations: 2.137 MB / 433.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003005/0.3193, allocations: 1.404 MB / 435.2 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001852/0.3211, allocations: 1.052 MB / 436.3 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002805/0.3239, allocations: 1.245 MB / 437.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009075/0.3248, allocations: 288 kB / 437.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.3263, allocations: 499.6 kB / 438.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001209/0.3276, allocations: 0.709 MB / 439 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002795/0.3303, allocations: 1.225 MB / 440.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005406/0.3358, allocations: 3.651 MB / 443.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3358, allocations: 0 / 443.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3358, allocations: 4 kB / 443.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001529/0.3359, allocations: 0 / 443.9 MB, free: 9.207 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.006554/0.3425, allocations: 2.457 MB / 446.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.3425, allocations: 16.03 kB / 446.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000457/0.343, allocations: 295.7 kB / 446.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005022/0.3435, allocations: 239.5 kB / 446.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/0.3459, allocations: 1.231 MB / 448.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.346, allocations: 156.5 kB / 448.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002947/0.3463, allocations: 215.9 kB / 448.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00424/0.3505, allocations: 2.614 MB / 451.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.3506, allocations: 0 / 451.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/0.3507, allocations: 84 kB / 451.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.979e-05/0.3508, allocations: 55.94 kB / 451.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003438/0.3542, allocations: 2.081 MB / 453.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01183/0.3661, allocations: 7.212 MB / 460.5 MB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.368, allocations: 1.312 MB / 461.8 MB, free: 6.887 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.3694, allocations: 0.8853 MB / 462.7 MB, free: 6.004 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.175e-05/0.3695, allocations: 13 kB / 462.7 MB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/0.3695, allocations: 47.56 kB / 462.8 MB, free: 5.934 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.106e-06/0.3695, allocations: 0 / 462.8 MB, free: 5.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.00775/0.3773, allocations: 3.883 MB / 466.7 MB, free: 2.008 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.3774, allocations: 64.34 kB / 466.7 MB, free: 1.934 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.3786, allocations: 0.8641 MB / 467.6 MB, free: 1.062 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.828e-05/0.3787, allocations: 45.7 kB / 467.6 MB, free: 1.012 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006457/0.3793, allocations: 0.8475 MB / 468.5 MB, free: 156 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/0.3796, allocations: 341.3 kB / 468.8 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/0.3799, allocations: 182.6 kB / 469 MB, free: 15.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.38, allocations: 341.9 kB / 469.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008354/0.3809, allocations: 497.7 kB / 469.8 MB, free: 14.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000964/0.3818, allocations: 0.6733 MB / 470.5 MB, free: 14.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.3836, allocations: 1.201 MB / 471.7 MB, free: 12.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.3836, allocations: 8 kB / 471.7 MB, free: 12.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002765/0.3863, allocations: 1.613 MB / 473.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.3864, allocations: 15.97 kB / 473.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.3864, allocations: 11.98 kB / 473.3 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.3875, allocations: 462.9 kB / 473.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/0.3881, allocations: 179.7 kB / 474 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009712/0.3979, allocations: 8.887 MB / 482.9 MB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008262/0.3987, allocations: 43.97 kB / 482.9 MB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.215e-05/0.3988, allocations: 35.98 kB / 482.9 MB, free: 1.066 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.001255/0.4, allocations: 0.6375 MB / 483.6 MB, free: 432 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.4003, allocations: 107.3 kB / 483.7 MB, free: 324 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.4005, allocations: 130 kB / 483.8 MB, free: 184 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.001e-05/0.4006, allocations: 16.06 kB / 483.8 MB, free: 168 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/0.4006, allocations: 8.391 kB / 483.8 MB, free: 160 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.4006, allocations: 7.984 kB / 483.8 MB, free: 152 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006547/0.4072, allocations: 3.457 MB / 487.3 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4072, allocations: 0 / 487.3 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005484/0.4077, allocations: 123.9 kB / 487.4 MB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009718/0.4087, allocations: 455 kB / 487.9 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.19e-05/0.4087, allocations: 23.98 kB / 487.9 MB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009552/0.4183, allocations: 8.797 MB / 496.7 MB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4183, allocations: 32 / 496.7 MB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003762/0.4221, allocations: 2.305 MB / 499 MB, free: 436 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006705/0.4227, allocations: 211.3 kB / 499.2 MB, free: 224 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.4228, allocations: 23.98 kB / 499.2 MB, free: 200 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/0.4233, allocations: 48.36 kB / 499.3 MB, free: 152 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002348/0.4235, allocations: 88.83 kB / 499.3 MB, free: 60 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.672e-05/0.4236, allocations: 20 kB / 499.4 MB, free: 40 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000877/0.4244, allocations: 0.6083 MB / 500 MB, free: 15.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4244, allocations: 0 / 500 MB, free: 15.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001551/0.426, allocations: 383.9 kB / 0.4886 GB, free: 15.06 MB / 414.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.00402/0.43, allocations: 2.888 MB / 0.4914 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002966/0.433, allocations: 1.785 MB / 0.4932 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.433, allocations: 0 / 0.4932 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001781/0.4348, allocations: 1.207 MB / 0.4944 GB, free: 9.035 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.4364, allocations: 307.1 kB / 0.4947 GB, free: 8.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01918/0.4556, allocations: 12.14 MB / 0.5065 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/0.4571, allocations: 1.718 MB / 0.5082 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006261/0.4578, allocations: 188.9 kB / 0.5084 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007736/0.4585, allocations: 0.6203 MB / 0.509 GB, free: 9.734 MB / 430.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4585, allocations: 4 kB / 0.509 GB, free: 9.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3278/0.7863, allocations: 34.67 MB / 0.5428 GB, free: 110.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/15.8, allocations: 1.969 kB / 0.5428 GB, free: 110.4 MB / 446.1 MB " [Timeout remaining time 644] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 19.588889146223664]