Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.001384/0.001384, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001438/0.001438, allocations: 215.5 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 55.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2558, allocations: 49.16 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.006396/0.2621, allocations: 6.228 MB / 402.6 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003834/0.266, allocations: 1.714 MB / 404.3 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.267, allocations: 47.19 kB / 404.3 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000707/0.2677, allocations: 310.3 kB / 404.6 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.2692, allocations: 437.1 kB / 405.1 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006573/0.2699, allocations: 358.2 kB / 405.4 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001981/0.2718, allocations: 2.152 MB / 407.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.2734, allocations: 1.367 MB / 408.9 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.2747, allocations: 1.047 MB / 410 MB, free: 284 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001928/0.2766, allocations: 1.234 MB / 411.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004717/0.2771, allocations: 289.5 kB / 411.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009506/0.278, allocations: 0.4912 MB / 412 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007174/0.2787, allocations: 0.6998 MB / 412.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001465/0.2802, allocations: 1.236 MB / 413.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004377/0.2846, allocations: 3.64 MB / 417.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2846, allocations: 0 / 417.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2846, allocations: 1.25 kB / 417.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001301/0.2847, allocations: 0 / 417.6 MB, free: 11.5 MB / 334.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.005733/0.2904, allocations: 2.437 MB / 420 MB, free: 9.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.2905, allocations: 13.67 kB / 420 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004657/0.291, allocations: 306 kB / 420.3 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000541/0.2915, allocations: 245.8 kB / 420.6 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/0.2938, allocations: 1.135 MB / 421.7 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.2939, allocations: 155.9 kB / 421.8 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003015/0.2942, allocations: 206.1 kB / 422 MB, free: 8.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004799/0.299, allocations: 2.615 MB / 424.7 MB, free: 6.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.812e-05/0.2991, allocations: 0 / 424.7 MB, free: 6.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001809/0.2992, allocations: 84 kB / 424.7 MB, free: 6.652 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.268e-05/0.2993, allocations: 52 kB / 424.8 MB, free: 6.602 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003702/0.303, allocations: 2.081 MB / 426.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01281/0.3158, allocations: 7.224 MB / 434.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002208/0.318, allocations: 1.3 MB / 435.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001775/0.3198, allocations: 0.8971 MB / 436.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.467e-05/0.3199, allocations: 13 kB / 436.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/0.3199, allocations: 47.5 kB / 436.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 3.727e-06/0.3199, allocations: 0 / 436.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.00819/0.3281, allocations: 3.902 MB / 440.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.3282, allocations: 64.34 kB / 440.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.3295, allocations: 0.8602 MB / 441.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.3296, allocations: 41.7 kB / 441.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006476/0.3303, allocations: 0.8514 MB / 442.1 MB, free: 5.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003546/0.3306, allocations: 337.1 kB / 442.4 MB, free: 4.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003069/0.3309, allocations: 178.6 kB / 442.6 MB, free: 4.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.3311, allocations: 349.9 kB / 442.9 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008566/0.332, allocations: 0.4938 MB / 443.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000974/0.3329, allocations: 0.6694 MB / 444.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.3347, allocations: 1.197 MB / 445.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.3347, allocations: 4 kB / 445.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003036/0.3378, allocations: 1.613 MB / 446.9 MB, free: 48 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.3378, allocations: 8 kB / 446.9 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.3378, allocations: 4 kB / 446.9 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.339, allocations: 463 kB / 447.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007548/0.3398, allocations: 179.7 kB / 447.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/0.35, allocations: 8.883 MB / 456.4 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008/0.3508, allocations: 47.94 kB / 456.5 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-05/0.3509, allocations: 36 kB / 456.5 MB, free: 5.977 MB / 366.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.001158/0.352, allocations: 0.6457 MB / 457.1 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000304/0.3523, allocations: 103.3 kB / 457.2 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.3526, allocations: 141.9 kB / 457.4 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.197e-05/0.3527, allocations: 8 kB / 457.4 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.3527, allocations: 4 kB / 457.4 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.3527, allocations: 7.969 kB / 457.4 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006653/0.3593, allocations: 3.457 MB / 460.9 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.3593, allocations: 0 / 460.9 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005835/0.3599, allocations: 127.9 kB / 461 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001209/0.3611, allocations: 467 kB / 461.4 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.823e-05/0.3612, allocations: 19.98 kB / 461.5 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00966/0.3709, allocations: 8.789 MB / 470.3 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3709, allocations: 0 / 470.3 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004072/0.375, allocations: 2.301 MB / 472.6 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006927/0.3757, allocations: 215.3 kB / 472.8 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.3758, allocations: 20 kB / 472.8 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004529/0.3762, allocations: 39.95 kB / 472.8 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000233/0.3765, allocations: 96.77 kB / 472.9 MB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.787e-05/0.3765, allocations: 20 kB / 472.9 MB, free: 4.938 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008826/0.3774, allocations: 0.6044 MB / 473.5 MB, free: 4.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3774, allocations: 4 kB / 473.5 MB, free: 4.336 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00172/0.3791, allocations: 383.9 kB / 473.9 MB, free: 3.961 MB / 382.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.004143/0.3833, allocations: 2.888 MB / 476.8 MB, free: 1.031 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003047/0.3863, allocations: 1.785 MB / 478.6 MB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.3863, allocations: 4.062 kB / 478.6 MB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001893/0.3882, allocations: 1.203 MB / 479.8 MB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.3898, allocations: 303.2 kB / 480.1 MB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02104/0.4108, allocations: 12.15 MB / 492.2 MB, free: 1.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/0.4126, allocations: 1.718 MB / 494 MB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006912/0.4133, allocations: 192.9 kB / 494.2 MB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009013/0.4142, allocations: 0.6165 MB / 494.8 MB, free: 14.62 MB / 414.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4142, allocations: 4 kB / 494.8 MB, free: 14.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1303/0.5445, allocations: 34.68 MB / 0.517 GB, free: 11.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/15.31, allocations: 23.77 kB / 0.5171 GB, free: 11.8 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-05 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.183181264001178]