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.001449/0.001449, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001617/0.001617, allocations: 206.9 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001494/0.001494, allocations: 51.92 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.27, allocations: 53.36 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007396/0.2774, allocations: 5.555 MB / 436.6 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003807/0.2812, allocations: 1.655 MB / 438.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005819/0.2818, allocations: 55.62 kB / 438.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006148/0.2824, allocations: 305.5 kB / 438.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.2836, allocations: 441.2 kB / 439.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006917/0.2843, allocations: 363.5 kB / 439.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002241/0.2866, allocations: 2.141 MB / 441.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.2883, allocations: 1.399 MB / 443 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00123/0.2896, allocations: 1.055 MB / 444 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001804/0.2914, allocations: 1.241 MB / 445.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003745/0.2917, allocations: 288 kB / 445.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006892/0.2924, allocations: 423.7 kB / 446 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006487/0.2931, allocations: 0.7051 MB / 446.7 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.2942, allocations: 0.9959 MB / 447.7 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003549/0.2977, allocations: 3.651 MB / 451.3 MB, free: 2.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2977, allocations: 0 / 451.3 MB, free: 2.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2977, allocations: 0 / 451.3 MB, free: 2.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.358e-05/0.2978, allocations: 4 kB / 451.3 MB, free: 2.27 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.004395/0.3022, allocations: 2.457 MB / 453.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3022, allocations: 8.031 kB / 453.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003751/0.3026, allocations: 311.5 kB / 454.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006654/0.3033, allocations: 271.4 kB / 454.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002323/0.3056, allocations: 1.251 MB / 455.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.3057, allocations: 156.5 kB / 455.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000317/0.306, allocations: 207.9 kB / 456 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004286/0.3103, allocations: 2.639 MB / 458.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.99e-05/0.3104, allocations: 0 / 458.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.3105, allocations: 84 kB / 458.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.041e-05/0.3106, allocations: 55.98 kB / 458.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003446/0.3141, allocations: 2.089 MB / 460.8 MB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01179/0.3259, allocations: 6.596 MB / 467.4 MB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/0.3278, allocations: 1.3 MB / 468.7 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/0.3294, allocations: 0.8972 MB / 469.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.833e-05/0.3295, allocations: 12.94 kB / 469.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.3295, allocations: 47.5 kB / 469.7 MB, free: 15.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.106e-06/0.3295, allocations: 0 / 469.7 MB, free: 15.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.007821/0.3373, allocations: 3.891 MB / 473.6 MB, free: 11.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.3374, allocations: 68.34 kB / 473.6 MB, free: 11.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.3386, allocations: 0.8797 MB / 474.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.886e-05/0.3387, allocations: 41.7 kB / 474.6 MB, free: 10.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006407/0.3394, allocations: 0.8475 MB / 475.4 MB, free: 9.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.3397, allocations: 341.1 kB / 475.7 MB, free: 9.379 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003004/0.34, allocations: 182.5 kB / 475.9 MB, free: 9.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3401, allocations: 345.9 kB / 476.3 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007785/0.3409, allocations: 0.4899 MB / 476.7 MB, free: 8.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000987/0.3419, allocations: 0.6755 MB / 477.4 MB, free: 7.621 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.3437, allocations: 1.197 MB / 478.6 MB, free: 6.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.3437, allocations: 4 kB / 478.6 MB, free: 6.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002785/0.3465, allocations: 1.617 MB / 480.2 MB, free: 4.715 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.3465, allocations: 8 kB / 480.2 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.3465, allocations: 11.94 kB / 480.3 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.3477, allocations: 466.9 kB / 480.7 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006652/0.3483, allocations: 167.8 kB / 480.9 MB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009735/0.3581, allocations: 8.825 MB / 489.7 MB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009285/0.359, allocations: 55.8 kB / 489.8 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.85e-05/0.3591, allocations: 32 kB / 489.8 MB, free: 10.7 MB / 398.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.001245/0.3603, allocations: 0.6418 MB / 490.4 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.3606, allocations: 111.3 kB / 490.5 MB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.3608, allocations: 134.1 kB / 490.7 MB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.003e-05/0.3609, allocations: 12 kB / 490.7 MB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.3609, allocations: 4.062 kB / 490.7 MB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.3609, allocations: 11.92 kB / 490.7 MB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006334/0.3672, allocations: 3.317 MB / 494 MB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.3672, allocations: 0 / 494 MB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005782/0.3678, allocations: 123.8 kB / 494.1 MB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009921/0.3688, allocations: 455 kB / 494.6 MB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.899e-05/0.3689, allocations: 20 kB / 494.6 MB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009405/0.3783, allocations: 8.732 MB / 0.4915 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.3783, allocations: 4.031 kB / 0.4915 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003931/0.3822, allocations: 2.301 MB / 0.4938 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008015/0.383, allocations: 211.3 kB / 0.494 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.3831, allocations: 16 kB / 0.494 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004488/0.3836, allocations: 47.89 kB / 0.494 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002743/0.3839, allocations: 100.8 kB / 0.4941 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.418e-05/0.3839, allocations: 20 kB / 0.4942 GB, free: 9.863 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009841/0.3849, allocations: 0.6161 MB / 0.4948 GB, free: 9.254 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3849, allocations: 0 / 0.4948 GB, free: 9.254 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001729/0.3866, allocations: 383.9 kB / 0.4951 GB, free: 8.879 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.004358/0.391, allocations: 2.886 MB / 0.4979 GB, free: 5.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003113/0.3941, allocations: 1.785 MB / 0.4997 GB, free: 4.113 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3941, allocations: 4.062 kB / 0.4997 GB, free: 4.109 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001892/0.396, allocations: 1.203 MB / 0.5009 GB, free: 2.855 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.3977, allocations: 303.1 kB / 0.5012 GB, free: 2.555 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02102/0.4187, allocations: 12.18 MB / 0.5131 GB, free: 6.078 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001475/0.4202, allocations: 1.142 MB / 0.5142 GB, free: 4.895 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006146/0.4208, allocations: 196.8 kB / 0.5144 GB, free: 4.699 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008326/0.4216, allocations: 0.6243 MB / 0.515 GB, free: 4.074 MB / 430.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4216, allocations: 0 / 0.515 GB, free: 4.074 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3155/0.7371, allocations: 35.13 MB / 0.5493 GB, free: 99.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.06, allocations: 7.203 kB / 0.5493 GB, free: 99.06 MB / 446.1 MB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/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: 17.85769525700016]