Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.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.0008159/0.0008159, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008386/0.0008386, allocations: 174.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9049/0.9049, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.482e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.006227/0.006251, allocations: 5.564 MB / 330.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003392/0.009643, allocations: 1.663 MB / 331.8 MB, free: 8.672 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007775/0.01042, allocations: 55.62 kB / 331.8 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005589/0.01098, allocations: 321.4 kB / 332.2 MB, free: 8.301 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.01227, allocations: 456.7 kB / 332.6 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005949/0.01286, allocations: 359.4 kB / 332.9 MB, free: 7.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00157/0.01444, allocations: 2.214 MB / 335.2 MB, free: 5.277 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.01585, allocations: 1.356 MB / 336.5 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.01749, allocations: 1.564 MB / 338.1 MB, free: 2.293 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.01857, allocations: 1.048 MB / 339.1 MB, free: 1.242 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002776/0.01885, allocations: 292 kB / 339.4 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004914/0.01934, allocations: 403.7 kB / 339.8 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004158/0.01976, allocations: 0.7206 MB / 340.5 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006207/0.02038, allocations: 0.8576 MB / 341.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002752/0.02313, allocations: 3.677 MB / 345.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.02313, allocations: 0 / 345.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.02314, allocations: 3.938 kB / 345.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.158e-05/0.0232, allocations: 0 / 345.1 MB, free: 11.29 MB / 314.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.003407/0.02661, allocations: 2.436 MB / 347.5 MB, free: 8.805 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.02665, allocations: 12.03 kB / 347.5 MB, free: 8.793 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002545/0.0269, allocations: 303.6 kB / 347.8 MB, free: 8.484 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004904/0.02739, allocations: 267.5 kB / 348.1 MB, free: 8.223 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.02889, allocations: 1.246 MB / 349.3 MB, free: 6.941 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002662/0.02916, allocations: 164.5 kB / 349.5 MB, free: 6.777 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.02934, allocations: 200.3 kB / 349.7 MB, free: 6.582 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003392/0.03273, allocations: 2.644 MB / 352.3 MB, free: 3.844 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.03277, allocations: 3.938 kB / 352.3 MB, free: 3.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.03288, allocations: 80 kB / 352.4 MB, free: 3.762 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.605e-05/0.03293, allocations: 55.98 kB / 352.5 MB, free: 3.707 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002453/0.03538, allocations: 2.085 MB / 354.5 MB, free: 1.605 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007538/0.04292, allocations: 6.606 MB / 361.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.04416, allocations: 1.301 MB / 362.4 MB, free: 9.535 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009574/0.04512, allocations: 0.8941 MB / 363.3 MB, free: 8.641 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.097e-05/0.04516, allocations: 13 kB / 363.4 MB, free: 8.629 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.0452, allocations: 43.5 kB / 363.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of pre-optimization done (n=96): time 3.146e-06/0.0452, allocations: 0 / 363.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=97): time 0.005155/0.05035, allocations: 3.902 MB / 367.3 MB, free: 4.625 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.05039, allocations: 64.41 kB / 367.4 MB, free: 4.551 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008343/0.05123, allocations: 0.872 MB / 368.2 MB, free: 3.664 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.05127, allocations: 41.7 kB / 368.3 MB, free: 3.617 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00039/0.05166, allocations: 0.8514 MB / 369.1 MB, free: 2.754 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.05184, allocations: 337.1 kB / 369.5 MB, free: 2.422 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.05204, allocations: 178.6 kB / 369.6 MB, free: 2.238 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.05215, allocations: 349.9 kB / 370 MB, free: 1.891 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005056/0.05266, allocations: 497.7 kB / 370.5 MB, free: 1.406 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007896/0.05345, allocations: 0.6733 MB / 371.1 MB, free: 0.668 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.05451, allocations: 1.209 MB / 372.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.05452, allocations: 4 kB / 372.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001632/0.05615, allocations: 1.609 MB / 374 MB, free: 13.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.05618, allocations: 8 kB / 374 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.05621, allocations: 8.25 kB / 374 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007539/0.05696, allocations: 470.9 kB / 374.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.05735, allocations: 167.8 kB / 374.6 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006412/0.06377, allocations: 8.809 MB / 383.4 MB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/0.06428, allocations: 56.06 kB / 383.5 MB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-05/0.06434, allocations: 32.12 kB / 383.5 MB, free: 3.754 MB / 346.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.0009837/0.06532, allocations: 0.6481 MB / 384.1 MB, free: 3.098 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.06548, allocations: 107.3 kB / 384.2 MB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.0656, allocations: 134.1 kB / 384.4 MB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/0.06563, allocations: 12 kB / 384.4 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.06564, allocations: 0 / 384.4 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.06564, allocations: 11.97 kB / 384.4 MB, free: 2.836 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003845/0.06949, allocations: 3.321 MB / 387.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.0695, allocations: 3.938 kB / 387.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.06978, allocations: 131.8 kB / 387.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005606/0.07034, allocations: 451 kB / 388.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.07038, allocations: 20 kB / 388.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005495/0.07587, allocations: 8.725 MB / 397 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.07587, allocations: 4.031 kB / 397 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/0.07836, allocations: 2.301 MB / 399.3 MB, free: 3.316 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003519/0.07871, allocations: 215.2 kB / 399.5 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.478e-05/0.07878, allocations: 20.12 kB / 399.6 MB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.07901, allocations: 47.89 kB / 399.6 MB, free: 3.039 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.07918, allocations: 96.77 kB / 399.7 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.07921, allocations: 27.98 kB / 399.7 MB, free: 2.914 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005891/0.0798, allocations: 0.6161 MB / 400.4 MB, free: 2.301 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0798, allocations: 0 / 400.4 MB, free: 2.301 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001131/0.08093, allocations: 379.9 kB / 400.7 MB, free: 1.93 MB / 362.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.002702/0.08363, allocations: 2.884 MB / 403.6 MB, free: 15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002522/0.08616, allocations: 1.777 MB / 405.4 MB, free: 13.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/0.08617, allocations: 384 / 405.4 MB, free: 13.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001488/0.08765, allocations: 1.207 MB / 406.6 MB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.0887, allocations: 295.2 kB / 406.9 MB, free: 11.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.1031, allocations: 12.15 MB / 419 MB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009017/0.104, allocations: 1.142 MB / 420.2 MB, free: 13.99 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003849/0.1044, allocations: 192.9 kB / 420.4 MB, free: 13.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005471/0.1049, allocations: 0.6175 MB / 421 MB, free: 13.18 MB / 394.7 MB Notification: Performance of SimCode: time 1.773e-06/0.105, allocations: 3.938 kB / 421 MB, free: 13.18 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2051/0.31, allocations: 34.86 MB / 455.8 MB, free: 113.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.424/8.734, allocations: 3.625 kB / 455.8 MB, free: 113.4 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 11.357601214200258]