Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PLL_PLL.Examples.VariableFrequency.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.001291/0.001291, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.0009505/0.0009505, allocations: 212.7 kB / 22.25 MB, free: 3.57 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.014/1.014, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PLL 1.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PLL 1.0.1/package.mo): time 0.01838/0.01838, allocations: 2.271 MB / 314.7 MB, free: 15.65 MB / 250.7 MB " [Timeout remaining time 180] Using package PLL with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PLL 1.0.1/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(PLL.Examples.VariableFrequency,fileNamePrefix="PLL_PLL_Examples_VariableFrequency",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PLL.Examples.VariableFrequency,fileNamePrefix="PLL_PLL_Examples_VariableFrequency",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PLL requested package Modelica of version 4.0.0. Modelica 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.001174/0.001174, allocations: 64.97 kB / 437.6 MB, free: 45.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1023, allocations: 53.93 MB / 491.6 MB, free: 9.445 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PLL.Examples.VariableFrequency): time 0.002808/0.1051, allocations: 2.259 MB / 493.8 MB, free: 7.176 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1062, allocations: 0.7908 MB / 494.6 MB, free: 6.379 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.1064, allocations: 15.88 kB / 494.6 MB, free: 6.363 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.1065, allocations: 55.45 kB / 494.7 MB, free: 6.309 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007102/0.1072, allocations: 143.2 kB / 494.8 MB, free: 6.168 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.1074, allocations: 103.8 kB / 494.9 MB, free: 6.066 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.1077, allocations: 343 kB / 495.3 MB, free: 5.73 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.1079, allocations: 121.2 kB / 495.4 MB, free: 5.613 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.1081, allocations: 147.5 kB / 495.5 MB, free: 5.469 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.1084, allocations: 231.1 kB / 495.7 MB, free: 5.242 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.1084, allocations: 32 kB / 495.8 MB, free: 5.211 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.447e-05/0.1085, allocations: 32 kB / 495.8 MB, free: 5.18 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.1086, allocations: 139.5 kB / 495.9 MB, free: 5.043 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.406e-05/0.1087, allocations: 139.2 kB / 496.1 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003289/0.109, allocations: 442.1 kB / 496.5 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.109, allocations: 0 / 496.5 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.109, allocations: 0 / 496.5 MB, free: 4.473 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.109, allocations: 3.938 kB / 496.5 MB, free: 4.469 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009312/0.1099, allocations: 0.649 MB / 497.2 MB, free: 3.789 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.11, allocations: 12.03 kB / 497.2 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.917e-05/0.11, allocations: 66.66 kB / 497.2 MB, free: 3.703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.58e-05/0.1101, allocations: 44.66 kB / 497.3 MB, free: 3.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.1104, allocations: 318.2 kB / 497.6 MB, free: 3.324 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.1104, allocations: 24.86 kB / 497.6 MB, free: 3.301 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.1104, allocations: 28.38 kB / 497.6 MB, free: 3.273 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004318/0.1109, allocations: 390.4 kB / 498 MB, free: 2.871 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.1109, allocations: 7.875 kB / 498 MB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.1109, allocations: 15.98 kB / 498.1 MB, free: 2.848 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/0.1109, allocations: 16.66 kB / 498.1 MB, free: 2.828 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006812/0.1116, allocations: 358.3 kB / 498.4 MB, free: 2.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.1127, allocations: 1.168 MB / 499.6 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004707/0.1132, allocations: 291.5 kB / 499.9 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.1134, allocations: 153.2 kB / 0.4883 GB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1134, allocations: 240 / 0.4883 GB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.1134, allocations: 38.73 kB / 0.4883 GB, free: 0.7578 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 9.92e-07/0.1134, allocations: 0 / 0.4883 GB, free: 0.7578 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006124/0.114, allocations: 489.4 kB / 0.4888 GB, free: 284 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.114, allocations: 55.41 kB / 0.4889 GB, free: 216 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.1143, allocations: 340.5 kB / 0.4892 GB, free: 15.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.1143, allocations: 29.7 kB / 0.4892 GB, free: 15.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.283e-05/0.1144, allocations: 204.6 kB / 0.4894 GB, free: 15.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.318e-05/0.1144, allocations: 103.1 kB / 0.4895 GB, free: 15.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/0.1145, allocations: 57.7 kB / 0.4896 GB, free: 15.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.403e-05/0.1146, allocations: 346.8 kB / 0.4899 GB, free: 15.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.1148, allocations: 127.9 kB / 0.49 GB, free: 14.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.1149, allocations: 180.2 kB / 0.4902 GB, free: 14.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.1153, allocations: 340.5 kB / 0.4905 GB, free: 14.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1153, allocations: 4 kB / 0.4905 GB, free: 14.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004248/0.1157, allocations: 413.1 kB / 0.4909 GB, free: 14.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1157, allocations: 5.875 kB / 0.4909 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1157, allocations: 3.984 kB / 0.4909 GB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1157, allocations: 4 kB / 0.4909 GB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.1159, allocations: 79.88 kB / 0.491 GB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1159, allocations: 4 kB / 0.491 GB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.116, allocations: 39.81 kB / 0.491 GB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.116, allocations: 15.98 kB / 0.4911 GB, free: 13.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (simpledqPLL.integralController.local_reset,srfPLL.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.1162, allocations: 181.8 kB / 0.4912 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.1162, allocations: 27.81 kB / 0.4913 GB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004799/0.1167, allocations: 429.5 kB / 0.4917 GB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.1167, allocations: 7.984 kB / 0.4917 GB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1167, allocations: 0 / 0.4917 GB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1167, allocations: 0 / 0.4917 GB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008477/0.1175, allocations: 0.8535 MB / 0.4925 GB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1175, allocations: 3.938 kB / 0.4925 GB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.1177, allocations: 63.95 kB / 0.4926 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1177, allocations: 7.984 kB / 0.4926 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.1177, allocations: 7.938 kB / 0.4926 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1177, allocations: 0 / 0.4926 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.1177, allocations: 7.938 kB / 0.4926 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006348/0.1184, allocations: 0.6685 MB / 0.4932 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.1184, allocations: 27.75 kB / 0.4933 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.1184, allocations: 12.03 kB / 0.4933 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.1185, allocations: 15.98 kB / 0.4933 GB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.1186, allocations: 27.89 kB / 0.4933 GB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.1186, allocations: 8 kB / 0.4933 GB, free: 11.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001544/0.1188, allocations: 235 kB / 0.4936 GB, free: 11.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1188, allocations: 0 / 0.4936 GB, free: 11.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002147/0.119, allocations: 79.84 kB / 0.4936 GB, free: 11.17 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (vfController.x,srfPLL.controller.x,srfPLL.integrator.y,simpledqPLL.integralController.y) * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008755/0.1198, allocations: 1.212 MB / 0.4948 GB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000403/0.1202, allocations: 320 kB / 0.4951 GB, free: 9.613 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1203, allocations: 0 / 0.4951 GB, free: 9.613 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004082/0.1207, allocations: 171.8 kB / 0.4953 GB, free: 9.445 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.1209, allocations: 45.02 kB / 0.4953 GB, free: 9.398 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/0.1242, allocations: 3.61 MB / 0.4989 GB, free: 5.672 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.1243, allocations: 216.8 kB / 0.4991 GB, free: 5.441 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.1244, allocations: 70.92 kB / 0.4991 GB, free: 5.371 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.1246, allocations: 127.4 kB / 0.4993 GB, free: 5.246 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1246, allocations: 0 / 0.4993 GB, free: 5.246 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1126/0.2372, allocations: 7.475 MB / 0.5066 GB, free: 13.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.961/7.198, allocations: 2.969 kB / 0.5066 GB, free: 13.89 MB / 378.7 MB " [Timeout remaining time 653] (rm -f PLL_PLL.Examples.VariableFrequency.pipe ; mkfifo PLL_PLL.Examples.VariableFrequency.pipe ; head -c 1048576 < PLL_PLL.Examples.VariableFrequency.pipe >> ../files/PLL_PLL.Examples.VariableFrequency.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_PLL_PLL_Examples_VariableFrequency_fmu --startTime=0 --stopTime=1.5 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 ../PLL_PLL_Examples_VariableFrequency.fmu) > PLL_PLL.Examples.VariableFrequency.pipe 2>&1) [Timeout 52.5] (rm -f PLL_PLL.Examples.VariableFrequency_fmpy.pipe ; mkfifo PLL_PLL.Examples.VariableFrequency_fmpy.pipe ; head -c 1048576 < PLL_PLL.Examples.VariableFrequency_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PLL_PLL.Examples.VariableFrequency_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PLL_PLL.Examples.VariableFrequency_fmpy_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-05 ../PLL_PLL_Examples_VariableFrequency.fmu) > PLL_PLL.Examples.VariableFrequency_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.231588626280427]