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.001175/0.001175, 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.001349/0.001349, allocations: 165.8 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.9592/0.9592, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.02227/0.02227, allocations: 1.682 MB / 260.9 MB, free: 11.58 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PLL.Examples.VariableFrequency,fileNamePrefix="PLL_PLL_Examples_VariableFrequency",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PLL.Examples.VariableFrequency,fileNamePrefix="PLL_PLL_Examples_VariableFrequency",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 384.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.006e-05, allocations: 2.281 kB / 384.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PLL.Examples.VariableFrequency): time 0.002607/0.002627, allocations: 2.252 MB / 386.9 MB, free: 9.695 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.00387, allocations: 0.7983 MB / 387.7 MB, free: 8.891 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.00404, allocations: 11.88 kB / 387.7 MB, free: 8.879 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.004218, allocations: 55.45 kB / 387.8 MB, free: 8.824 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005787/0.004797, allocations: 143.1 kB / 387.9 MB, free: 8.684 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.004963, allocations: 111.8 kB / 388 MB, free: 8.574 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.005252, allocations: 338.8 kB / 388.3 MB, free: 8.242 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002364/0.005489, allocations: 116.9 kB / 388.5 MB, free: 8.129 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002715/0.00576, allocations: 203.5 kB / 388.7 MB, free: 7.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.006037, allocations: 211.5 kB / 388.9 MB, free: 7.723 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.178e-05/0.006078, allocations: 32 kB / 388.9 MB, free: 7.691 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.96e-05/0.006118, allocations: 32 kB / 388.9 MB, free: 7.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.006237, allocations: 139.5 kB / 389.1 MB, free: 7.523 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.137e-05/0.006328, allocations: 115.6 kB / 389.2 MB, free: 7.41 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.006702, allocations: 442.6 kB / 389.6 MB, free: 6.977 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.006706, allocations: 0 / 389.6 MB, free: 6.977 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.006707, allocations: 0 / 389.6 MB, free: 6.977 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.006713, allocations: 4 kB / 389.6 MB, free: 6.973 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.0009143/0.007628, allocations: 0.6411 MB / 390.2 MB, free: 6.301 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.007674, allocations: 16.02 kB / 390.3 MB, free: 6.285 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.598e-05/0.00773, allocations: 62.67 kB / 390.3 MB, free: 6.215 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.00779, allocations: 48.66 kB / 390.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.00815, allocations: 305.5 kB / 390.7 MB, free: 5.844 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.008176, allocations: 28.8 kB / 390.7 MB, free: 5.816 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.008219, allocations: 24.38 kB / 390.7 MB, free: 5.793 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004661/0.008685, allocations: 390.8 kB / 391.1 MB, free: 5.391 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.008696, allocations: 8.172 kB / 391.1 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.008718, allocations: 12.12 kB / 391.1 MB, free: 5.371 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.602e-05/0.008754, allocations: 20.66 kB / 391.1 MB, free: 5.348 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/0.009228, allocations: 350.3 kB / 391.5 MB, free: 5.008 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.01041, allocations: 1.184 MB / 392.7 MB, free: 3.762 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000508/0.01091, allocations: 292.2 kB / 393 MB, free: 3.469 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.01109, allocations: 145.2 kB / 393.1 MB, free: 3.324 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.01112, allocations: 12.11 kB / 393.1 MB, free: 3.312 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.01114, allocations: 38.8 kB / 393.1 MB, free: 3.266 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.462e-06/0.01114, allocations: 0 / 393.1 MB, free: 3.266 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006386/0.01178, allocations: 485.4 kB / 393.6 MB, free: 2.789 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.01181, allocations: 55.41 kB / 393.7 MB, free: 2.723 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.01207, allocations: 332.5 kB / 394 MB, free: 2.379 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.01209, allocations: 29.7 kB / 394 MB, free: 2.344 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.01219, allocations: 208.5 kB / 394.2 MB, free: 2.137 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/0.01225, allocations: 103.2 kB / 394.3 MB, free: 2.035 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.398e-05/0.01232, allocations: 53.69 kB / 394.4 MB, free: 1.977 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.01242, allocations: 346.8 kB / 394.7 MB, free: 1.629 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.0126, allocations: 143.7 kB / 394.9 MB, free: 1.488 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.01279, allocations: 181.7 kB / 395 MB, free: 1.297 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.01318, allocations: 336.6 kB / 395.4 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.01318, allocations: 0 / 395.4 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004582/0.01364, allocations: 409.1 kB / 395.8 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.01366, allocations: 4 kB / 395.8 MB, free: 0.543 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.01367, allocations: 4.125 kB / 395.8 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.01368, allocations: 4 kB / 395.8 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.01389, allocations: 83.86 kB / 395.9 MB, free: 464 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.0139, allocations: 4 kB / 395.9 MB, free: 460 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.01401, allocations: 43.75 kB / 395.9 MB, free: 416 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.01403, allocations: 12 kB / 395.9 MB, free: 404 kB / 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.0001494/0.01418, allocations: 173.8 kB / 396.1 MB, free: 220 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.01422, allocations: 31.75 kB / 396.1 MB, free: 188 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005428/0.01476, allocations: 429.6 kB / 396.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.01476, allocations: 4 kB / 396.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.01477, allocations: 3.938 kB / 396.6 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.01477, allocations: 3.984 kB / 396.6 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009128/0.01569, allocations: 0.8496 MB / 397.4 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.01569, allocations: 4 kB / 397.4 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.01588, allocations: 67.89 kB / 397.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.01588, allocations: 0 / 397.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.0159, allocations: 8 kB / 397.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.01591, allocations: 3.984 kB / 397.5 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01591, allocations: 0 / 397.5 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007173/0.01663, allocations: 0.6646 MB / 398.2 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.01667, allocations: 35.78 kB / 398.2 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.0167, allocations: 8 kB / 398.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.01681, allocations: 23.91 kB / 398.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.01688, allocations: 23.95 kB / 398.2 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.01689, allocations: 8 kB / 398.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001761/0.01707, allocations: 235 kB / 398.5 MB, free: 13.76 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01707, allocations: 0 / 398.5 MB, free: 13.76 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002435/0.01731, allocations: 79.78 kB / 398.6 MB, free: 13.68 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.000921/0.01823, allocations: 1.216 MB / 399.8 MB, free: 12.44 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004597/0.01869, allocations: 319.7 kB / 400.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01869, allocations: 0 / 400.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.01889, allocations: 164.1 kB / 400.2 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.01922, allocations: 48.75 kB / 400.3 MB, free: 11.92 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003438/0.02266, allocations: 3.584 MB / 403.9 MB, free: 8.227 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.02281, allocations: 216.8 kB / 404.1 MB, free: 7.992 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001482/0.02296, allocations: 78.89 kB / 404.2 MB, free: 7.918 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.02312, allocations: 132.5 kB / 404.3 MB, free: 7.789 MB / 330.7 MB Notification: Performance of SimCode: time 1.483e-06/0.02312, allocations: 0 / 404.3 MB, free: 7.789 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08543/0.1086, allocations: 7.717 MB / 412 MB, free: 232 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.556/7.664, allocations: 8 kB / 412 MB, free: 224 kB / 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 --mode=me --timeout=240 --tolerance=1e-06 ../PLL_PLL_Examples_VariableFrequency.fmu) > PLL_PLL.Examples.VariableFrequency.pipe 2>&1) [Timeout 252.0] (rm -f PLL_PLL.Examples.VariableFrequency_OMSimulator-cs-cvode.pipe ; mkfifo PLL_PLL.Examples.VariableFrequency_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PLL_PLL.Examples.VariableFrequency_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PLL_PLL.Examples.VariableFrequency_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_PLL_PLL_Examples_VariableFrequency_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1.5 --stepSize=1e-05 --mode=cs --timeout=240 --tolerance=1e-06 ../PLL_PLL_Examples_VariableFrequency_OMSimulator-cs-cvode.fmu) > PLL_PLL.Examples.VariableFrequency_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f PLL_PLL.Examples.VariableFrequency_OMSimulator-cs-euler.pipe ; mkfifo PLL_PLL.Examples.VariableFrequency_OMSimulator-cs-euler.pipe ; head -c 1048576 < PLL_PLL.Examples.VariableFrequency_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PLL_PLL.Examples.VariableFrequency_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_PLL_PLL_Examples_VariableFrequency_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1.5 --stepSize=1e-05 --mode=cs --timeout=240 --tolerance=1e-06 ../PLL_PLL_Examples_VariableFrequency_OMSimulator-cs-euler.fmu) > PLL_PLL.Examples.VariableFrequency_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (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 240 --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 252.0] [Calling sys.exit(0), Time elapsed: 13.897593395784497]