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.000767/0.000767, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007882/0.0007882, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8961/0.8961, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.006685/0.006685, allocations: 1.694 MB / 260.9 MB, free: 11.56 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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 383.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152e-05/1.303e-05, allocations: 6.281 kB / 383.9 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PLL.Examples.VariableFrequency): time 0.002282/0.002295, allocations: 2.267 MB / 386.1 MB, free: 10.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.003319, allocations: 0.7944 MB / 386.9 MB, free: 9.676 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.003448, allocations: 11.88 kB / 386.9 MB, free: 9.664 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.0036, allocations: 59.44 kB / 387 MB, free: 9.605 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004691/0.004069, allocations: 143.2 kB / 387.1 MB, free: 9.465 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.004213, allocations: 111.8 kB / 387.2 MB, free: 9.355 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.004469, allocations: 342.7 kB / 387.6 MB, free: 9.02 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.004669, allocations: 116.9 kB / 387.7 MB, free: 8.906 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.004909, allocations: 203.5 kB / 387.9 MB, free: 8.707 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.005141, allocations: 211.5 kB / 388.1 MB, free: 8.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.005177, allocations: 32 kB / 388.1 MB, free: 8.469 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.266e-05/0.00521, allocations: 32 kB / 388.2 MB, free: 8.438 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.85e-05/0.005308, allocations: 143.5 kB / 388.3 MB, free: 8.297 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.878e-05/0.005387, allocations: 107.7 kB / 388.4 MB, free: 8.191 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.005692, allocations: 446.6 kB / 388.8 MB, free: 7.754 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.005693, allocations: 0 / 388.8 MB, free: 7.754 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005694, allocations: 0 / 388.8 MB, free: 7.754 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.005698, allocations: 0 / 388.8 MB, free: 7.754 MB / 314.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.0007884/0.006486, allocations: 0.6528 MB / 389.5 MB, free: 7.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.006518, allocations: 8.031 kB / 389.5 MB, free: 7.062 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.056e-05/0.006568, allocations: 66.72 kB / 389.6 MB, free: 6.988 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.006622, allocations: 44.66 kB / 389.6 MB, free: 6.945 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005336/0.007155, allocations: 305.5 kB / 389.9 MB, free: 6.621 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.007174, allocations: 24.81 kB / 389.9 MB, free: 6.598 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.007208, allocations: 28.36 kB / 390 MB, free: 6.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.007622, allocations: 386.9 kB / 390.3 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.007632, allocations: 192 / 390.3 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.007654, allocations: 16.12 kB / 390.3 MB, free: 6.156 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/0.007683, allocations: 28.64 kB / 390.4 MB, free: 6.125 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004217/0.008105, allocations: 354.3 kB / 390.7 MB, free: 5.781 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.009176, allocations: 1.172 MB / 391.9 MB, free: 4.547 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/0.009625, allocations: 300.2 kB / 392.2 MB, free: 4.246 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.009792, allocations: 145.2 kB / 392.3 MB, free: 4.102 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.009812, allocations: 8.172 kB / 392.3 MB, free: 4.094 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.009827, allocations: 30.8 kB / 392.4 MB, free: 4.055 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.222e-06/0.009828, allocations: 4 kB / 392.4 MB, free: 4.051 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007521/0.01058, allocations: 497.4 kB / 392.9 MB, free: 3.562 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.01061, allocations: 55.41 kB / 392.9 MB, free: 3.496 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.01085, allocations: 328.5 kB / 393.2 MB, free: 3.156 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.01086, allocations: 33.64 kB / 393.3 MB, free: 3.117 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.64e-05/0.01096, allocations: 208.6 kB / 393.5 MB, free: 2.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.01101, allocations: 95.17 kB / 393.6 MB, free: 2.816 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/0.01108, allocations: 61.7 kB / 393.6 MB, free: 2.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.009e-05/0.01117, allocations: 346.8 kB / 394 MB, free: 2.402 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.01133, allocations: 135.8 kB / 394.1 MB, free: 2.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.01152, allocations: 177.7 kB / 394.3 MB, free: 2.082 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.01188, allocations: 336.6 kB / 394.6 MB, free: 1.738 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01188, allocations: 0 / 394.6 MB, free: 1.738 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004335/0.01232, allocations: 413.1 kB / 395 MB, free: 1.328 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.01233, allocations: 4 kB / 395 MB, free: 1.324 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.01233, allocations: 4 kB / 395 MB, free: 1.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.01234, allocations: 128 / 395 MB, free: 1.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.01254, allocations: 87.88 kB / 395.1 MB, free: 1.234 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.01254, allocations: 0 / 395.1 MB, free: 1.234 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.01265, allocations: 43.8 kB / 395.1 MB, free: 1.191 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.01267, allocations: 12 kB / 395.1 MB, free: 1.18 MB / 314.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.0001195/0.01279, allocations: 177.7 kB / 395.3 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.01283, allocations: 35.75 kB / 395.4 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004727/0.0133, allocations: 425.6 kB / 395.8 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.0133, allocations: 4 kB / 395.8 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.0133, allocations: 3.938 kB / 395.8 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01331, allocations: 0 / 395.8 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008338/0.01414, allocations: 0.8535 MB / 396.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01414, allocations: 0 / 396.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.01432, allocations: 75.88 kB / 396.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01432, allocations: 4 kB / 396.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.01433, allocations: 4 kB / 396.7 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.01434, allocations: 4 kB / 396.7 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01434, allocations: 0 / 396.7 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000891/0.01523, allocations: 0.6645 MB / 397.4 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.01526, allocations: 39.72 kB / 397.4 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.01529, allocations: 8 kB / 397.4 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.0154, allocations: 15.98 kB / 397.4 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.01545, allocations: 23.95 kB / 397.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.01547, allocations: 8 kB / 397.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001628/0.01563, allocations: 243 kB / 397.7 MB, free: 14.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01563, allocations: 0 / 397.7 MB, free: 14.53 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002145/0.01584, allocations: 75.78 kB / 397.8 MB, free: 14.46 MB / 330.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.0008145/0.01666, allocations: 1.212 MB / 399 MB, free: 13.22 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000388/0.01705, allocations: 323.7 kB / 399.3 MB, free: 12.9 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.01705, allocations: 4 kB / 399.3 MB, free: 12.9 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.01723, allocations: 159.8 kB / 399.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.01751, allocations: 49.39 kB / 399.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/0.02082, allocations: 3.576 MB / 403.1 MB, free: 9.008 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.02098, allocations: 220.8 kB / 403.3 MB, free: 8.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.0211, allocations: 66.92 kB / 403.4 MB, free: 8.707 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.02125, allocations: 136.5 kB / 403.5 MB, free: 8.574 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02125, allocations: 4 kB / 403.5 MB, free: 8.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07978/0.101, allocations: 7.609 MB / 411.1 MB, free: 1.102 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/7.621, allocations: 7.938 kB / 411.1 MB, free: 1.094 MB / 330.7 MB " [Timeout remaining time 652] (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.26805399544537]