Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 111.9 kB / 17.06 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001164, allocations: 198.9 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 43.94 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2904, allocations: 49.43 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005848/0.2963, allocations: 3.946 MB / 404.2 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002903/0.2992, allocations: 1.573 MB / 405.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004811/0.2997, allocations: 15.94 kB / 405.8 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.3018, allocations: 0.7683 MB / 406.5 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.3031, allocations: 0.5246 MB / 407.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.3043, allocations: 0.537 MB / 407.6 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008438/0.3051, allocations: 0.5331 MB / 408.1 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000854/0.306, allocations: 0.4977 MB / 408.6 MB, free: 384 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004033/0.3064, allocations: 239.1 kB / 408.9 MB, free: 144 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000439/0.3069, allocations: 294.9 kB / 409.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.307, allocations: 52 kB / 409.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005156/0.3075, allocations: 243.7 kB / 409.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.3076, allocations: 123.6 kB / 409.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.3079, allocations: 266.7 kB / 409.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.3089, allocations: 0.7944 MB / 410.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.309, allocations: 0 / 410.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.309, allocations: 0 / 410.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.466e-05/0.309, allocations: 0 / 410.6 MB, free: 14.38 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.00225/0.3113, allocations: 0.9519 MB / 411.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3113, allocations: 12.03 kB / 411.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001794/0.3115, allocations: 111.9 kB / 411.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00273/0.3142, allocations: 407.9 kB / 412.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006449/0.3149, allocations: 365.3 kB / 412.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.369e-05/0.315, allocations: 45.44 kB / 412.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.3151, allocations: 60 kB / 412.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.3163, allocations: 0.6354 MB / 413.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.3163, allocations: 7.984 kB / 413.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.356e-05/0.3164, allocations: 23.94 kB / 413.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.3164, allocations: 16 kB / 413.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.3176, allocations: 0.5751 MB / 413.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003251/0.3208, allocations: 2.173 MB / 416 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.3224, allocations: 1.176 MB / 417.1 MB, free: 7.414 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003775/0.3228, allocations: 196.8 kB / 417.3 MB, free: 7.219 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.37e-05/0.3229, allocations: 93.39 kB / 417.4 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.323, allocations: 34.56 kB / 417.5 MB, free: 7.066 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 2.024e-06/0.323, allocations: 3.938 kB / 417.5 MB, free: 7.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.001689/0.3247, allocations: 0.6902 MB / 418.2 MB, free: 6.344 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.3247, allocations: 55.41 kB / 418.2 MB, free: 6.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.325, allocations: 278.5 kB / 418.5 MB, free: 6.004 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.3251, allocations: 33.7 kB / 418.5 MB, free: 5.965 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.3252, allocations: 240.4 kB / 418.8 MB, free: 5.723 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.3254, allocations: 149.8 kB / 418.9 MB, free: 5.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.3255, allocations: 90.23 kB / 419 MB, free: 5.477 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3257, allocations: 338.8 kB / 419.3 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.326, allocations: 155 kB / 419.5 MB, free: 4.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/0.3265, allocations: 257.9 kB / 419.7 MB, free: 4.684 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007827/0.3273, allocations: 433.6 kB / 420.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.912e-06/0.3273, allocations: 4 kB / 420.2 MB, free: 4.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001049/0.3283, allocations: 0.5218 MB / 420.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3284, allocations: 8 kB / 420.7 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.3284, allocations: 4 kB / 420.7 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002526/0.3286, allocations: 60.77 kB / 420.7 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.3291, allocations: 104 kB / 420.8 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.3306, allocations: 1.775 MB / 422.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/0.331, allocations: 51.44 kB / 422.7 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.331, allocations: 23.98 kB / 422.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004409/0.3315, allocations: 265.2 kB / 423 MB, free: 1.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003897/0.3319, allocations: 249.6 kB / 423.2 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008636/0.3327, allocations: 423.8 kB / 423.6 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.228e-06/0.3328, allocations: 0 / 423.6 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001105/0.3339, allocations: 0.5165 MB / 424.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3339, allocations: 8 kB / 424.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3339, allocations: 4 kB / 424.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002077/0.3341, allocations: 49.12 kB / 424.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.3346, allocations: 107.8 kB / 424.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.3363, allocations: 1.763 MB / 426.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.3367, allocations: 47.58 kB / 426.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.374e-05/0.3367, allocations: 19.94 kB / 426.1 MB, free: 13.85 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002548/0.337, allocations: 208.1 kB / 426.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.3371, allocations: 39.62 kB / 426.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.3383, allocations: 0.5006 MB / 426.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.3383, allocations: 4 kB / 426.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3384, allocations: 3.938 kB / 426.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.3384, allocations: 3.984 kB / 426.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.3402, allocations: 1.084 MB / 428 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3402, allocations: 0 / 428 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.3406, allocations: 79.89 kB / 428 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002003/0.3408, allocations: 48.77 kB / 428.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/0.3409, allocations: 15.94 kB / 428.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/0.3425, allocations: 1.755 MB / 429.9 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3425, allocations: 4.062 kB / 429.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.3439, allocations: 0.75 MB / 430.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.3441, allocations: 144.7 kB / 430.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/0.3442, allocations: 19.98 kB / 430.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.3444, allocations: 15.98 kB / 430.8 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.3445, allocations: 32.44 kB / 430.8 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.3446, allocations: 15.98 kB / 430.8 MB, free: 8.887 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002213/0.3448, allocations: 194 kB / 431 MB, free: 8.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3448, allocations: 0 / 431 MB, free: 8.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000952/0.3458, allocations: 247.1 kB / 431.3 MB, free: 8.453 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001851/0.3476, allocations: 1.314 MB / 432.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001782/0.3494, allocations: 0.8847 MB / 433.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.3495, allocations: 0 / 433.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.35, allocations: 337.1 kB / 433.8 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.3505, allocations: 56.3 kB / 433.8 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006044/0.3565, allocations: 3.792 MB / 437.6 MB, free: 1.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.357, allocations: 0.8249 MB / 438.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003044/0.3573, allocations: 79.22 kB / 438.5 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.3576, allocations: 159.4 kB / 438.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3576, allocations: 0 / 438.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04681/0.4044, allocations: 8.881 MB / 447.6 MB, free: 8.043 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.64, allocations: 4.562 kB / 447.6 MB, free: 8.039 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches