Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.VanDerPol.ScaledBlocks.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.0008842/0.0008842, 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.001083/0.001083, allocations: 216 kB / 22.26 MB, free: 3.574 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.017/1.017, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo): time 0.02746/0.02746, allocations: 9.548 MB / 322 MB, free: 8.496 MB / 250.7 MB " [Timeout remaining time 180] Using package ChaoticCircuits with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/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(ChaoticCircuits.VanDerPol.ScaledBlocks,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_VanDerPol_ScaledBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.VanDerPol.ScaledBlocks,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_VanDerPol_ScaledBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ChaoticCircuits 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.00147/0.00147, allocations: 71.89 kB / 448.6 MB, free: 37.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08625/0.08772, allocations: 55.78 MB / 0.4926 GB, free: 13.85 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.VanDerPol.ScaledBlocks): time 0.002317/0.09003, allocations: 1.868 MB / 0.4944 GB, free: 11.97 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008514/0.09088, allocations: 0.5417 MB / 0.4949 GB, free: 11.42 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.09099, allocations: 7.938 kB / 0.4949 GB, free: 11.41 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.09115, allocations: 31.67 kB / 0.495 GB, free: 11.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.421e-05/0.09124, allocations: 35.66 kB / 0.495 GB, free: 11.35 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.09153, allocations: 75.84 kB / 0.4951 GB, free: 11.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.09175, allocations: 163.4 kB / 0.4952 GB, free: 11.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.09191, allocations: 54.17 kB / 0.4953 GB, free: 11.06 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.09206, allocations: 79.59 kB / 0.4954 GB, free: 10.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.09219, allocations: 71.55 kB / 0.4954 GB, free: 10.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.09221, allocations: 23.98 kB / 0.4954 GB, free: 10.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.009e-05/0.09226, allocations: 16 kB / 0.4955 GB, free: 10.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.0923, allocations: 39.78 kB / 0.4955 GB, free: 10.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.237e-05/0.09235, allocations: 63.59 kB / 0.4956 GB, free: 10.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.09256, allocations: 171 kB / 0.4957 GB, free: 10.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.09256, allocations: 0 / 0.4957 GB, free: 10.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.09256, allocations: 0 / 0.4957 GB, free: 10.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.09257, allocations: 0 / 0.4957 GB, free: 10.61 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006095/0.09318, allocations: 441.5 kB / 0.4961 GB, free: 10.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.09323, allocations: 8.031 kB / 0.4961 GB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.09327, allocations: 50.67 kB / 0.4962 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.09338, allocations: 40.73 kB / 0.4962 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.09364, allocations: 182.2 kB / 0.4964 GB, free: 9.832 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.09365, allocations: 20.59 kB / 0.4964 GB, free: 9.812 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.09368, allocations: 20.33 kB / 0.4964 GB, free: 9.793 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.09393, allocations: 179.9 kB / 0.4966 GB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.09394, allocations: 0 / 0.4966 GB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.09396, allocations: 4 kB / 0.4966 GB, free: 9.594 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.09396, allocations: 4 kB / 0.4966 GB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.09412, allocations: 116.5 kB / 0.4967 GB, free: 9.477 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007589/0.09488, allocations: 0.7578 MB / 0.4975 GB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.09503, allocations: 98.47 kB / 0.4976 GB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.388e-05/0.09509, allocations: 40.84 kB / 0.4976 GB, free: 8.512 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.09511, allocations: 4 kB / 0.4976 GB, free: 8.508 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.09513, allocations: 34.56 kB / 0.4976 GB, free: 8.465 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.09513, allocations: 0 / 0.4976 GB, free: 8.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002672/0.09539, allocations: 157.7 kB / 0.4978 GB, free: 8.305 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.09542, allocations: 55.34 kB / 0.4979 GB, free: 8.238 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.0956, allocations: 240.9 kB / 0.4981 GB, free: 7.996 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.09562, allocations: 29.7 kB / 0.4981 GB, free: 7.961 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.0957, allocations: 139.9 kB / 0.4982 GB, free: 7.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.09572, allocations: 47.64 kB / 0.4983 GB, free: 7.773 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.09576, allocations: 33.7 kB / 0.4983 GB, free: 7.734 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003226/0.09609, allocations: 334.8 kB / 0.4986 GB, free: 7.398 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.248e-05/0.09615, allocations: 35.98 kB / 0.4987 GB, free: 7.363 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.694e-05/0.09621, allocations: 70.45 kB / 0.4987 GB, free: 7.281 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.09634, allocations: 120.2 kB / 0.4989 GB, free: 7.148 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.09634, allocations: 0 / 0.4989 GB, free: 7.148 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001805/0.09652, allocations: 164.4 kB / 0.499 GB, free: 6.984 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.09654, allocations: 8 kB / 0.499 GB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.09654, allocations: 0 / 0.499 GB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.09656, allocations: 4 kB / 0.499 GB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.09666, allocations: 32.05 kB / 0.4991 GB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.09666, allocations: 4 kB / 0.4991 GB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.849e-05/0.09671, allocations: 15.89 kB / 0.4991 GB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.09672, allocations: 7.984 kB / 0.4991 GB, free: 6.914 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 (integrator_z.local_reset,integrator_x.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 7.986e-05/0.0968, allocations: 133.7 kB / 0.4992 GB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.09683, allocations: 23.86 kB / 0.4992 GB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.09686, allocations: 21.7 kB / 0.4993 GB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.09686, allocations: 0 / 0.4993 GB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.09687, allocations: 4 kB / 0.4993 GB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.09687, allocations: 0 / 0.4993 GB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.09703, allocations: 208.6 kB / 0.4995 GB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.09704, allocations: 11.92 kB / 0.4995 GB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.09711, allocations: 16 kB / 0.4995 GB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.09712, allocations: 0 / 0.4995 GB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.09713, allocations: 11.92 kB / 0.4995 GB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.09713, allocations: 3.938 kB / 0.4995 GB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.09713, allocations: 4 kB / 0.4995 GB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.09741, allocations: 267.3 kB / 0.4998 GB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.09744, allocations: 15.89 kB / 0.4998 GB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.09746, allocations: 8.062 kB / 0.4998 GB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.131e-05/0.09751, allocations: 7.938 kB / 0.4998 GB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.09755, allocations: 7.984 kB / 0.4998 GB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.09755, allocations: 7.984 kB / 0.4998 GB, free: 6.102 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.09766, allocations: 168.5 kB / 0.5 GB, free: 5.938 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09766, allocations: 0 / 0.5 GB, free: 5.938 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.09784, allocations: 31.94 kB / 0.5 GB, free: 5.906 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (integrator_x.y,integrator_z.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 (12): * Single equations (assignments): 12 * 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.000476/0.09831, allocations: 0.7982 MB / 0.5008 GB, free: 5.082 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.09853, allocations: 95.89 kB / 0.5009 GB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.09853, allocations: 7.938 kB / 0.5009 GB, free: 4.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.67e-05/0.09859, allocations: 35.98 kB / 0.5009 GB, free: 4.945 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.09889, allocations: 29.3 kB / 0.5009 GB, free: 4.918 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.1007, allocations: 2.224 MB / 0.5031 GB, free: 2.586 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.368e-05/0.1008, allocations: 125.2 kB / 0.5032 GB, free: 2.441 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.883e-05/0.1009, allocations: 17.64 kB / 0.5032 GB, free: 2.422 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/0.101, allocations: 63.41 kB / 0.5033 GB, free: 2.363 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.101, allocations: 0 / 0.5033 GB, free: 2.363 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0841/0.1851, allocations: 4.24 MB / 0.5074 GB, free: 14.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.898/7.083, allocations: 11.09 kB / 0.5075 GB, free: 14.25 MB / 378.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.VanDerPol.ScaledBlocks.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.VanDerPol.ScaledBlocks.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.VanDerPol.ScaledBlocks.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.VanDerPol.ScaledBlocks.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_VanDerPol_ScaledBlocks_fmu --startTime=0 --stopTime=0.2 --stepSize=2e-06 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_VanDerPol_ScaledBlocks.fmu) > ChaoticCircuits_ChaoticCircuits.VanDerPol.ScaledBlocks.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.VanDerPol.ScaledBlocks_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.VanDerPol.ScaledBlocks_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.VanDerPol.ScaledBlocks_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.VanDerPol.ScaledBlocks_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.VanDerPol.ScaledBlocks_fmpy_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2e-06 ../ChaoticCircuits_ChaoticCircuits_VanDerPol_ScaledBlocks.fmu) > ChaoticCircuits_ChaoticCircuits.VanDerPol.ScaledBlocks_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.018957140855491]