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.001525/0.001525, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.0018/0.0018, allocations: 216.6 kB / 23.73 MB, free: 4.156 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.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001634/0.001634, allocations: 47.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2909, allocations: 53.36 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008203/0.2991, allocations: 5.553 MB / 436.6 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004691/0.3038, allocations: 1.659 MB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008646/0.3046, allocations: 55.62 kB / 438.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008306/0.3055, allocations: 305.5 kB / 438.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002018/0.3075, allocations: 449.2 kB / 439.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000937/0.3084, allocations: 359.5 kB / 439.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002994/0.3114, allocations: 2.141 MB / 441.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002318/0.3137, allocations: 1.349 MB / 442.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.316, allocations: 1.052 MB / 444 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002374/0.3184, allocations: 1.191 MB / 445.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006204/0.319, allocations: 288 kB / 445.4 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009159/0.3199, allocations: 411.7 kB / 445.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007432/0.3206, allocations: 0.7051 MB / 446.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00141/0.322, allocations: 0.9959 MB / 447.5 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004757/0.3268, allocations: 3.655 MB / 451.2 MB, free: 2.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3268, allocations: 0 / 451.2 MB, free: 2.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3268, allocations: 0 / 451.2 MB, free: 2.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001014/0.3269, allocations: 0 / 451.2 MB, free: 2.391 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.005864/0.3328, allocations: 2.457 MB / 453.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.3328, allocations: 8.031 kB / 453.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005555/0.3334, allocations: 303.7 kB / 454 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007419/0.3341, allocations: 267.5 kB / 454.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002885/0.337, allocations: 1.254 MB / 455.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.3372, allocations: 156.5 kB / 455.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000336/0.3375, allocations: 211.9 kB / 455.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005068/0.3426, allocations: 2.647 MB / 458.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.3426, allocations: 0 / 458.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/0.3428, allocations: 80 kB / 458.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.802e-05/0.3429, allocations: 52 kB / 458.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004144/0.347, allocations: 2.089 MB / 460.7 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01339/0.3604, allocations: 6.592 MB / 467.3 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.3627, allocations: 1.3 MB / 468.6 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001701/0.3644, allocations: 0.901 MB / 469.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.067e-05/0.3644, allocations: 9 kB / 469.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.992e-05/0.3645, allocations: 47.5 kB / 469.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.967e-06/0.3645, allocations: 0 / 469.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.00907/0.3735, allocations: 3.895 MB / 473.4 MB, free: 11.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.3736, allocations: 68.28 kB / 473.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.375, allocations: 0.8797 MB / 474.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.91e-05/0.3751, allocations: 41.7 kB / 474.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006992/0.3758, allocations: 0.8514 MB / 475.3 MB, free: 9.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003164/0.3761, allocations: 341.1 kB / 475.6 MB, free: 9.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/0.3764, allocations: 182.5 kB / 475.8 MB, free: 9.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3766, allocations: 345.9 kB / 476.1 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008307/0.3774, allocations: 497.7 kB / 476.6 MB, free: 8.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.3785, allocations: 0.6694 MB / 477.3 MB, free: 7.746 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/0.3805, allocations: 1.201 MB / 478.5 MB, free: 6.477 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/0.3805, allocations: 4 kB / 478.5 MB, free: 6.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003318/0.3838, allocations: 1.613 MB / 480.1 MB, free: 4.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.3838, allocations: 8 kB / 480.1 MB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.3838, allocations: 7.938 kB / 480.1 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.3851, allocations: 470.9 kB / 480.6 MB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006969/0.3858, allocations: 167.8 kB / 480.7 MB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/0.397, allocations: 8.821 MB / 489.6 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008467/0.3978, allocations: 47.89 kB / 489.6 MB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/0.398, allocations: 36 kB / 489.6 MB, free: 10.83 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.001317/0.3993, allocations: 0.6553 MB / 490.3 MB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003087/0.3996, allocations: 107.3 kB / 490.4 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000325/0.4, allocations: 138.1 kB / 490.5 MB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.51e-05/0.4, allocations: 12 kB / 490.6 MB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.4, allocations: 128 / 490.6 MB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.4, allocations: 15.91 kB / 490.6 MB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00739/0.4074, allocations: 3.313 MB / 493.9 MB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.4074, allocations: 0 / 493.9 MB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006537/0.4081, allocations: 123.8 kB / 494 MB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001098/0.4092, allocations: 455 kB / 494.4 MB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.994e-05/0.4093, allocations: 23.98 kB / 494.5 MB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01063/0.4199, allocations: 8.732 MB / 0.4914 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4199, allocations: 0 / 0.4914 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004393/0.4243, allocations: 2.305 MB / 0.4937 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000813/0.4251, allocations: 211.3 kB / 0.4939 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002232/0.4253, allocations: 16 kB / 0.4939 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005303/0.4258, allocations: 47.89 kB / 0.4939 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002671/0.4261, allocations: 88.77 kB / 0.494 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.079e-05/0.4262, allocations: 31.98 kB / 0.494 GB, free: 9.988 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001207/0.4274, allocations: 0.6083 MB / 0.4946 GB, free: 9.387 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4274, allocations: 0 / 0.4946 GB, free: 9.387 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002025/0.4294, allocations: 387.9 kB / 0.495 GB, free: 9.008 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.004985/0.4344, allocations: 2.886 MB / 0.4978 GB, free: 6.078 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003418/0.4378, allocations: 1.783 MB / 0.4996 GB, free: 4.242 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4378, allocations: 0 / 0.4996 GB, free: 4.242 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002104/0.4399, allocations: 1.208 MB / 0.5007 GB, free: 2.984 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.4417, allocations: 305.8 kB / 0.501 GB, free: 2.684 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02281/0.4645, allocations: 12.19 MB / 0.5129 GB, free: 6.199 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001904/0.4664, allocations: 1.138 MB / 0.514 GB, free: 5.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006303/0.4671, allocations: 192.9 kB / 0.5142 GB, free: 4.828 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/0.4681, allocations: 0.6203 MB / 0.5148 GB, free: 4.207 MB / 430.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4681, allocations: 0 / 0.5148 GB, free: 4.207 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3423/0.8104, allocations: 34.79 MB / 0.5488 GB, free: 99.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/14.97, allocations: 0 / 0.5488 GB, free: 99.55 MB / 446.1 MB " [Timeout remaining time 645] (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: 18.795976284891367]