Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001095/0.001095, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00113/0.00113, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 55.44 kB / 307.1 MB, free: 0.5195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1163, allocations: 50.53 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.00543/0.1217, allocations: 3.942 MB / 361.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002886/0.1247, allocations: 1.639 MB / 363.2 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000359/0.125, allocations: 12 kB / 363.2 MB, free: 8.367 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002062/0.1271, allocations: 0.7661 MB / 363.9 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.1283, allocations: 369.5 kB / 364.3 MB, free: 7.238 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.1296, allocations: 0.6772 MB / 365 MB, free: 6.559 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000717/0.1303, allocations: 0.5254 MB / 365.5 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007953/0.1311, allocations: 0.4886 MB / 366 MB, free: 5.539 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003645/0.1315, allocations: 243.1 kB / 366.2 MB, free: 5.301 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003521/0.1319, allocations: 294.8 kB / 366.5 MB, free: 5.012 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.604e-05/0.132, allocations: 52 kB / 366.6 MB, free: 4.961 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004873/0.1325, allocations: 255.8 kB / 366.8 MB, free: 4.711 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.806e-05/0.1326, allocations: 123.5 kB / 366.9 MB, free: 4.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002473/0.1329, allocations: 262.7 kB / 367.2 MB, free: 4.332 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008997/0.1338, allocations: 0.7944 MB / 368 MB, free: 3.535 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.1338, allocations: 3.984 kB / 368 MB, free: 3.531 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1338, allocations: 0 / 368 MB, free: 3.531 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.1338, allocations: 0 / 368 MB, free: 3.531 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.002242/0.1361, allocations: 0.9559 MB / 369 MB, free: 2.527 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1361, allocations: 12.03 kB / 369 MB, free: 2.516 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001598/0.1363, allocations: 107.9 kB / 369.1 MB, free: 2.402 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003016/0.1393, allocations: 411.9 kB / 369.5 MB, free: 2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005238/0.1398, allocations: 360.2 kB / 369.8 MB, free: 1.609 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.862e-05/0.1399, allocations: 53.44 kB / 369.9 MB, free: 1.559 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.534e-05/0.14, allocations: 56 kB / 369.9 MB, free: 1.504 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.1411, allocations: 0.6432 MB / 370.6 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.1412, allocations: 0 / 370.6 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.863e-05/0.1412, allocations: 24 kB / 370.6 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.1413, allocations: 16 kB / 370.6 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.1424, allocations: 0.5712 MB / 371.2 MB, free: 240 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1476/0.29, allocations: 2.272 MB / 373.5 MB, free: 19.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.2914, allocations: 1.187 MB / 374.6 MB, free: 17.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003785/0.2918, allocations: 190.5 kB / 374.8 MB, free: 17.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.2919, allocations: 170.1 kB / 375 MB, free: 17.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.2919, allocations: 45.36 kB / 375 MB, free: 17.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.384e-06/0.2919, allocations: 7.5 kB / 375.1 MB, free: 17.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.00165/0.2936, allocations: 0.6748 MB / 375.7 MB, free: 17.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.2936, allocations: 64.52 kB / 375.8 MB, free: 17.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.2939, allocations: 274.4 kB / 376.1 MB, free: 17.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.2939, allocations: 32.08 kB / 376.1 MB, free: 17.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.294, allocations: 252.8 kB / 376.3 MB, free: 16.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.318e-05/0.2941, allocations: 153.7 kB / 376.5 MB, free: 16.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.2943, allocations: 83.77 kB / 376.6 MB, free: 16.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.297e-05/0.2943, allocations: 339.8 kB / 376.9 MB, free: 16.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.2946, allocations: 156.1 kB / 377.1 MB, free: 16.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/0.295, allocations: 254.4 kB / 377.3 MB, free: 16.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006755/0.2957, allocations: 431.9 kB / 377.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2957, allocations: 1.312 kB / 377.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009958/0.2967, allocations: 0.5229 MB / 378.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2967, allocations: 6.656 kB / 378.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.2968, allocations: 2.875 kB / 378.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002394/0.297, allocations: 63.48 kB / 378.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000414/0.2974, allocations: 94.48 kB / 378.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/0.2986, allocations: 1.761 MB / 380.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.2989, allocations: 61.22 kB / 380.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.299, allocations: 23.06 kB / 380.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004168/0.2994, allocations: 270.6 kB / 380.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003189/0.2997, allocations: 250.3 kB / 380.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006098/0.3004, allocations: 414.5 kB / 381.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.904e-06/0.3004, allocations: 4 kB / 381.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009078/0.3013, allocations: 0.5125 MB / 381.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.3013, allocations: 11.66 kB / 381.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3013, allocations: 2.844 kB / 381.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.3015, allocations: 51.69 kB / 381.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/0.3019, allocations: 95.94 kB / 381.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.303, allocations: 1.768 MB / 383.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.3033, allocations: 39.33 kB / 383.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.3033, allocations: 19.66 kB / 383.7 MB, free: 11.36 MB / 302.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.000127/0.3035, allocations: 212.4 kB / 383.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.091e-05/0.3035, allocations: 37.17 kB / 383.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.3046, allocations: 0.5042 MB / 384.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.3046, allocations: 7.469 kB / 384.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3046, allocations: 1.906 kB / 384.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.3047, allocations: 2.438 kB / 384.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.3062, allocations: 1.089 MB / 385.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3062, allocations: 0.7031 kB / 385.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003727/0.3066, allocations: 79.27 kB / 385.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001722/0.3068, allocations: 52.16 kB / 385.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.3068, allocations: 12.89 kB / 385.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.308, allocations: 1.765 MB / 387.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.308, allocations: 0 / 387.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.3093, allocations: 0.7465 MB / 388.2 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.3094, allocations: 147.6 kB / 388.3 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.3095, allocations: 10.81 kB / 388.3 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.3098, allocations: 17.36 kB / 388.3 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/0.3099, allocations: 34.39 kB / 388.4 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.3099, allocations: 14.53 kB / 388.4 MB, free: 8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001844/0.3101, allocations: 197.4 kB / 388.6 MB, free: 7.883 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3101, allocations: 0 / 388.6 MB, free: 7.883 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009281/0.3111, allocations: 243.8 kB / 388.8 MB, free: 7.816 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.001608/0.3127, allocations: 1.318 MB / 390.1 MB, free: 6.883 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.3144, allocations: 0.9055 MB / 391 MB, free: 6.414 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3145, allocations: 1.062 kB / 391 MB, free: 6.414 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005355/0.315, allocations: 333.7 kB / 391.4 MB, free: 6.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.3155, allocations: 43.47 kB / 391.4 MB, free: 6.207 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004899/0.3204, allocations: 3.823 MB / 395.2 MB, free: 3.723 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.3207, allocations: 0.8277 MB / 396.1 MB, free: 3.012 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003723/0.3211, allocations: 74.44 kB / 396.1 MB, free: 2.984 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.3213, allocations: 160.4 kB / 396.3 MB, free: 2.867 MB / 302.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3213, allocations: 0 / 396.3 MB, free: 2.867 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03103/0.3523, allocations: 8.612 MB / 404.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.069/9.421, allocations: 7.438 kB / 404.9 MB, free: 14.6 MB / 318.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.csv","/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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches