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.0009838/0.0009841, allocations: 90.11 kB / 16.65 MB, free: 6.535 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.00105/0.00105, allocations: 175.5 kB / 17.56 MB, free: 6.18 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.284/1.284, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003176, allocations: 7.984 kB / 301.5 MB, free: 5.785 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1058, allocations: 50.41 MB / 352 MB, free: 3.363 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.004387/0.1103, allocations: 3.535 MB / 355.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.1132, allocations: 1.546 MB / 357 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000463/0.1137, allocations: 12 kB / 357 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006333/0.1144, allocations: 171.2 kB / 357.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.1158, allocations: 493.1 kB / 357.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.1169, allocations: 0.5063 MB / 358.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007729/0.1177, allocations: 0.4941 MB / 358.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.1192, allocations: 0.8073 MB / 359.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000335/0.1196, allocations: 191.1 kB / 359.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003223/0.1199, allocations: 246.8 kB / 359.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.017e-05/0.12, allocations: 20 kB / 359.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004633/0.1204, allocations: 215.8 kB / 360.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.858e-05/0.1205, allocations: 83.55 kB / 360.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.1207, allocations: 256.4 kB / 360.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008794/0.1216, allocations: 0.7513 MB / 361.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1217, allocations: 4 kB / 361.2 MB, free: 10 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.1217, allocations: 4 kB / 361.2 MB, free: 10 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.968e-05/0.1217, allocations: 0 / 361.2 MB, free: 10 MB / 302.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.002388/0.1241, allocations: 0.8856 MB / 362.1 MB, free: 9.062 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1241, allocations: 11.97 kB / 362.1 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002166/0.1244, allocations: 107.9 kB / 362.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002898/0.1273, allocations: 419.9 kB / 362.7 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005824/0.1279, allocations: 352.4 kB / 363 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.965e-05/0.1279, allocations: 53.38 kB / 363.1 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.128, allocations: 63.94 kB / 363.1 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.1295, allocations: 0.7135 MB / 363.8 MB, free: 7.305 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.1295, allocations: 0 / 363.8 MB, free: 7.305 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-05/0.1296, allocations: 31.92 kB / 363.9 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/0.1296, allocations: 21.31 kB / 363.9 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.1311, allocations: 0.7079 MB / 364.6 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00368/0.1348, allocations: 2.366 MB / 367 MB, free: 4.035 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.1364, allocations: 1.2 MB / 368.2 MB, free: 2.656 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004684/0.1368, allocations: 232.8 kB / 368.4 MB, free: 2.426 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-05/0.137, allocations: 97.39 kB / 368.5 MB, free: 2.312 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.137, allocations: 38.56 kB / 368.5 MB, free: 2.266 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 1.733e-06/0.137, allocations: 0 / 368.5 MB, free: 2.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001907/0.1389, allocations: 0.819 MB / 369.3 MB, free: 1.418 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.139, allocations: 63.34 kB / 369.4 MB, free: 1.344 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.1393, allocations: 274.6 kB / 369.7 MB, free: 1.074 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.1393, allocations: 29.7 kB / 369.7 MB, free: 1.039 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.1395, allocations: 244.3 kB / 369.9 MB, free: 0.793 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.1396, allocations: 149.8 kB / 370.1 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.558e-05/0.1397, allocations: 53.62 kB / 370.1 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1398, allocations: 338.8 kB / 370.5 MB, free: 252 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/0.1402, allocations: 189 kB / 370.7 MB, free: 64 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1712/0.3114, allocations: 300.1 kB / 370.9 MB, free: 23.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.3126, allocations: 0.5156 MB / 371.5 MB, free: 23.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.3126, allocations: 0.8438 kB / 371.5 MB, free: 23.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001398/0.314, allocations: 0.6072 MB / 372.1 MB, free: 23.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.633e-05/0.3141, allocations: 186.7 kB / 372.3 MB, free: 23.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.3141, allocations: 3.688 kB / 372.3 MB, free: 23.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002792/0.3144, allocations: 56.75 kB / 372.3 MB, free: 23.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004978/0.3149, allocations: 111.8 kB / 372.4 MB, free: 23.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.3163, allocations: 1.59 MB / 374 MB, free: 21.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.3167, allocations: 62.41 kB / 374.1 MB, free: 21.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-05/0.3167, allocations: 25.84 kB / 374.1 MB, free: 21.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/0.3168, allocations: 4 kB / 374.1 MB, free: 21.94 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00109/0.3179, allocations: 0.5551 MB / 374.7 MB, free: 21.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3179, allocations: 3.594 kB / 374.7 MB, free: 21.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/0.3181, allocations: 55.64 kB / 374.7 MB, free: 21.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.3185, allocations: 106.3 kB / 374.8 MB, free: 21.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.3197, allocations: 1.502 MB / 376.3 MB, free: 20.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.32, allocations: 54.06 kB / 376.4 MB, free: 20.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.32, allocations: 23.88 kB / 376.4 MB, free: 20.6 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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.0002839/0.3203, allocations: 269.9 kB / 376.7 MB, free: 20.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.337e-05/0.3204, allocations: 31.47 kB / 376.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.3216, allocations: 0.5947 MB / 377.3 MB, free: 20.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.3217, allocations: 4.875 kB / 377.3 MB, free: 20.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3217, allocations: 4 kB / 377.3 MB, free: 20.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3217, allocations: 4.234 kB / 377.3 MB, free: 20.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.3235, allocations: 1.244 MB / 378.5 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3235, allocations: 0 / 378.5 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.3239, allocations: 90.09 kB / 378.6 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001593/0.3241, allocations: 54.25 kB / 378.7 MB, free: 19.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.3241, allocations: 18.61 kB / 378.7 MB, free: 19.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.3252, allocations: 1.587 MB / 380.3 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.3252, allocations: 1.656 kB / 380.3 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.3267, allocations: 0.8999 MB / 381.2 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.3268, allocations: 143.6 kB / 381.3 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.3269, allocations: 11.39 kB / 381.3 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.3272, allocations: 23.83 kB / 381.4 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.891e-05/0.3273, allocations: 34.08 kB / 381.4 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.3273, allocations: 21.41 kB / 381.4 MB, free: 17.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.3275, allocations: 192.2 kB / 381.6 MB, free: 17.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3275, allocations: 1.469 kB / 381.6 MB, free: 17.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008436/0.3283, allocations: 248.1 kB / 381.8 MB, free: 17.25 MB / 302.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.001773/0.3301, allocations: 1.485 MB / 383.3 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.3318, allocations: 1.02 MB / 384.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3318, allocations: 0 / 384.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005519/0.3324, allocations: 390.9 kB / 384.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.3329, allocations: 51.23 kB / 384.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005616/0.3385, allocations: 4.451 MB / 389.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.3388, allocations: 0.8283 MB / 390.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.001632/0.3404, allocations: 1.08 MB / 391.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.3407, allocations: 173.7 kB / 391.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3407, allocations: 0 / 391.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.121/1.462, allocations: 8.608 MB / 399.9 MB, free: 7.645 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001375/1.462, allocations: 242.7 kB / 400.2 MB, free: 7.387 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.897/4.359, allocations: 0 / 400.2 MB, free: 7.387 MB / 302.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