Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001784/0.001784, allocations: 120.4 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002077/0.002077, allocations: 208.9 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 63.91 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.109, allocations: 53.32 MB / 426.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.2355/0.3445, allocations: 6.283 MB / 432.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004231/0.3487, allocations: 1.711 MB / 434.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.3499, allocations: 43.47 kB / 434.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000771/0.3506, allocations: 312.4 kB / 435 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.3525, allocations: 435.8 kB / 435.4 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000874/0.3534, allocations: 354.6 kB / 435.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002871/0.3562, allocations: 2.163 MB / 437.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002597/0.3588, allocations: 1.786 MB / 439.7 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002002/0.3608, allocations: 1.052 MB / 440.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002726/0.3636, allocations: 1.237 MB / 442 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009462/0.3645, allocations: 291.5 kB / 442.3 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.3659, allocations: 425.8 kB / 442.7 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008277/0.3667, allocations: 0.7153 MB / 443.4 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002189/0.3689, allocations: 1.239 MB / 444.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005664/0.3745, allocations: 3.648 MB / 448.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.3746, allocations: 0 / 448.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3746, allocations: 0 / 448.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001775/0.3747, allocations: 0 / 448.3 MB, free: 1.98 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: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.007203/0.3819, allocations: 2.544 MB / 450.9 MB, free: 492 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.382, allocations: 10.62 kB / 450.9 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00057/0.3826, allocations: 303.5 kB / 451.2 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009361/0.3835, allocations: 269.1 kB / 451.4 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003188/0.3867, allocations: 1.312 MB / 452.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.3868, allocations: 158.1 kB / 452.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004748/0.3873, allocations: 210.6 kB / 453.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006225/0.3935, allocations: 2.636 MB / 455.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.624e-05/0.3936, allocations: 0 / 455.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002106/0.3938, allocations: 81.81 kB / 455.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/0.3939, allocations: 84.44 kB / 455.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004371/0.3983, allocations: 2.095 MB / 458 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01516/0.4134, allocations: 7.485 MB / 465.5 MB, free: 7.238 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00266/0.4161, allocations: 2.286 MB / 467.8 MB, free: 5.277 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.4177, allocations: 0.8795 MB / 468.6 MB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.286e-05/0.4178, allocations: 9.438 kB / 468.7 MB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/0.4178, allocations: 38.38 kB / 468.7 MB, free: 4.816 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 4.298e-06/0.4178, allocations: 0 / 468.7 MB, free: 4.816 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.008713/0.4265, allocations: 4.212 MB / 472.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.4266, allocations: 64.34 kB / 473 MB, free: 2.047 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.4282, allocations: 0.8681 MB / 473.8 MB, free: 1.168 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.099e-05/0.4283, allocations: 39.73 kB / 473.9 MB, free: 1.125 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007571/0.429, allocations: 0.8622 MB / 474.7 MB, free: 260 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003446/0.4294, allocations: 340.8 kB / 475.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003222/0.4297, allocations: 182.6 kB / 475.2 MB, free: 15.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.4299, allocations: 341.9 kB / 475.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008384/0.4307, allocations: 497.7 kB / 476.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009762/0.4317, allocations: 0.6655 MB / 476.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/0.4335, allocations: 1.201 MB / 477.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.4335, allocations: 4 kB / 477.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002983/0.4365, allocations: 1.624 MB / 479.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.4365, allocations: 11.94 kB / 479.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/0.4366, allocations: 4 kB / 479.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/0.4377, allocations: 472.8 kB / 480 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006741/0.4384, allocations: 171.7 kB / 480.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/0.4488, allocations: 9.29 MB / 489.5 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009564/0.4498, allocations: 47.95 kB / 489.5 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/0.45, allocations: 40.06 kB / 489.6 MB, free: 0.6875 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.001555/0.4515, allocations: 0.6454 MB / 490.2 MB, free: 36 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004674/0.452, allocations: 103.4 kB / 490.3 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003899/0.4524, allocations: 138.1 kB / 490.5 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.23e-05/0.4524, allocations: 15.94 kB / 490.5 MB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.645e-05/0.4524, allocations: 4.062 kB / 490.5 MB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.4524, allocations: 7.984 kB / 490.5 MB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007804/0.4602, allocations: 3.471 MB / 494 MB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.4603, allocations: 0 / 494 MB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005713/0.4608, allocations: 123.9 kB / 494.1 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/0.4619, allocations: 455.2 kB / 494.5 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.688e-05/0.462, allocations: 23.98 kB / 494.5 MB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01002/0.472, allocations: 9.213 MB / 0.492 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.472, allocations: 4.062 kB / 0.492 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00411/0.4761, allocations: 2.297 MB / 0.4942 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009224/0.477, allocations: 284.3 kB / 0.4945 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003276/0.4773, allocations: 27.94 kB / 0.4945 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006589/0.478, allocations: 39.95 kB / 0.4945 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002865/0.4783, allocations: 92.86 kB / 0.4946 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.759e-05/0.4784, allocations: 20 kB / 0.4946 GB, free: 15.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001242/0.4796, allocations: 0.616 MB / 0.4952 GB, free: 14.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4796, allocations: 0 / 0.4952 GB, free: 14.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002131/0.4817, allocations: 384 kB / 0.4956 GB, free: 14.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.004482/0.4862, allocations: 2.882 MB / 0.4984 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003127/0.4893, allocations: 1.781 MB / 0.5002 GB, free: 9.297 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.4893, allocations: 320 / 0.5002 GB, free: 9.297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001972/0.4913, allocations: 1.207 MB / 0.5013 GB, free: 8.043 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.4932, allocations: 310.1 kB / 0.5016 GB, free: 7.746 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02314/0.5163, allocations: 12.18 MB / 0.5135 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002071/0.5184, allocations: 1.738 MB / 0.5152 GB, free: 9.512 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006481/0.5191, allocations: 188.9 kB / 0.5154 GB, free: 9.324 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009317/0.52, allocations: 0.6165 MB / 0.516 GB, free: 8.707 MB / 430.1 MB Notification: Performance of SimCode: time 1.112e-06/0.52, allocations: 0 / 0.516 GB, free: 8.707 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09592/0.6159, allocations: 33.89 MB / 0.5491 GB, free: 7.105 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/14.75, allocations: 11.67 kB / 0.5491 GB, free: 7.098 MB / 462.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.83512852806598]