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.001345/0.001345, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001685/0.001685, allocations: 194.8 kB / 23.71 MB, free: 4.406 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.413/1.413, allocations: 225.7 MB / 252.5 MB, free: 12.79 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.001553/0.001553, allocations: 43.94 kB / 370.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2366, allocations: 52.18 MB / 422.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008105/0.2447, allocations: 5.53 MB / 428.1 MB, free: 8.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003219/0.248, allocations: 1.612 MB / 429.7 MB, free: 7.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000427/0.2484, allocations: 55.69 kB / 429.8 MB, free: 7.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005643/0.2489, allocations: 309.5 kB / 430.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.25, allocations: 449.2 kB / 430.5 MB, free: 6.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000698/0.2507, allocations: 343.5 kB / 430.8 MB, free: 6.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002654/0.2534, allocations: 2.137 MB / 433 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001796/0.2552, allocations: 1.349 MB / 434.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.2566, allocations: 1.063 MB / 435.4 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/0.2583, allocations: 1.175 MB / 436.6 MB, free: 240 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003811/0.2587, allocations: 292 kB / 436.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007037/0.2594, allocations: 407.7 kB / 437.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007571/0.2602, allocations: 0.7012 MB / 438 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.2612, allocations: 0.9999 MB / 439 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003732/0.265, allocations: 3.651 MB / 442.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.265, allocations: 0 / 442.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.265, allocations: 0 / 442.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.998e-05/0.265, allocations: 4 kB / 442.6 MB, free: 10.18 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.004435/0.2694, allocations: 2.449 MB / 445.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.2695, allocations: 12.03 kB / 445.1 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004482/0.2699, allocations: 303.6 kB / 445.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005023/0.2704, allocations: 243.5 kB / 445.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002428/0.2729, allocations: 1.227 MB / 446.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.273, allocations: 156.5 kB / 447 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003103/0.2733, allocations: 211.9 kB / 447.2 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004439/0.2777, allocations: 2.639 MB / 449.8 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.279e-05/0.2778, allocations: 4 kB / 449.8 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/0.278, allocations: 84 kB / 449.9 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.197e-05/0.2781, allocations: 55.98 kB / 450 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003615/0.2817, allocations: 2.077 MB / 452 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/0.293, allocations: 6.612 MB / 458.7 MB, free: 9.734 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00204/0.295, allocations: 1.308 MB / 460 MB, free: 8.441 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/0.2965, allocations: 0.8775 MB / 460.8 MB, free: 7.566 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.802e-05/0.2966, allocations: 13 kB / 460.9 MB, free: 7.555 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.2966, allocations: 43.56 kB / 460.9 MB, free: 7.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.926e-06/0.2966, allocations: 0 / 460.9 MB, free: 7.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.0078/0.3044, allocations: 3.887 MB / 464.8 MB, free: 3.566 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.3045, allocations: 72.34 kB / 464.9 MB, free: 3.484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.3057, allocations: 0.8718 MB / 465.7 MB, free: 2.605 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.384e-05/0.3058, allocations: 37.7 kB / 465.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006647/0.3064, allocations: 0.8591 MB / 466.6 MB, free: 1.691 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002917/0.3067, allocations: 337.1 kB / 467 MB, free: 1.359 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002921/0.307, allocations: 178.6 kB / 467.1 MB, free: 1.176 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3072, allocations: 349.9 kB / 467.5 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000832/0.308, allocations: 497.7 kB / 468 MB, free: 352 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.309, allocations: 0.6734 MB / 468.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00186/0.3109, allocations: 1.201 MB / 469.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.3109, allocations: 8 kB / 469.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002779/0.3137, allocations: 1.613 MB / 471.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.3137, allocations: 8 kB / 471.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.3137, allocations: 7.938 kB / 471.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.3149, allocations: 471.1 kB / 471.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006737/0.3155, allocations: 171.7 kB / 472.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009887/0.3254, allocations: 8.818 MB / 480.9 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006373/0.3261, allocations: 55.89 kB / 481 MB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.19e-05/0.3261, allocations: 32.12 kB / 481 MB, free: 2.68 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.001118/0.3273, allocations: 0.6432 MB / 481.6 MB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.3275, allocations: 103.3 kB / 481.7 MB, free: 1.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.3278, allocations: 134 kB / 481.9 MB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.129e-05/0.3278, allocations: 12 kB / 481.9 MB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.3278, allocations: 0 / 481.9 MB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.3278, allocations: 7.922 kB / 481.9 MB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00604/0.3338, allocations: 3.325 MB / 485.2 MB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.3338, allocations: 0 / 485.2 MB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/0.3344, allocations: 124 kB / 485.3 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/0.3354, allocations: 459 kB / 485.8 MB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.874e-05/0.3355, allocations: 24 kB / 485.8 MB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009644/0.3451, allocations: 8.739 MB / 494.5 MB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.3451, allocations: 3.984 kB / 494.6 MB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003803/0.3489, allocations: 2.305 MB / 496.9 MB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006385/0.3496, allocations: 207.3 kB / 497.1 MB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.3497, allocations: 20 kB / 497.1 MB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004564/0.3502, allocations: 47.89 kB / 497.1 MB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/0.3504, allocations: 88.81 kB / 497.2 MB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.42e-05/0.3505, allocations: 28 kB / 497.2 MB, free: 1.844 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008602/0.3513, allocations: 0.6083 MB / 497.8 MB, free: 1.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3513, allocations: 0 / 497.8 MB, free: 1.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001397/0.3527, allocations: 383.9 kB / 498.2 MB, free: 0.8672 MB / 398.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.004099/0.3568, allocations: 2.884 MB / 0.4894 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002905/0.3597, allocations: 1.777 MB / 0.4911 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3597, allocations: 0 / 0.4911 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001802/0.3615, allocations: 1.207 MB / 0.4923 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.3629, allocations: 311.2 kB / 0.4926 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01929/0.3822, allocations: 12.13 MB / 0.5044 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/0.3837, allocations: 1.142 MB / 0.5055 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005566/0.3842, allocations: 188.9 kB / 0.5057 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000825/0.3851, allocations: 0.6165 MB / 0.5063 GB, free: 12.12 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3851, allocations: 3.938 kB / 0.5063 GB, free: 12.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2711/0.6561, allocations: 34.73 MB / 0.5402 GB, free: 111.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/14.78, allocations: 7.031 kB / 0.5402 GB, free: 111.5 MB / 446.1 MB " [Timeout remaining time 645] (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: 18.48135158419609]