Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.0009066/0.0009066, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 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.001207/0.001207, allocations: 212.7 kB / 23 MB, free: 2.977 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 0.9864/0.9864, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03653/0.03653, allocations: 12.18 MB / 325.4 MB, free: 6.094 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005026/0.0005026, allocations: 31.95 kB / 384.8 MB, free: 10.51 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.844/1.844, allocations: 353.9 MB / 0.7794 GB, free: 4.551 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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: translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.001339/0.001339, allocations: 124.5 kB / 1.061 GB, free: 24.51 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2818, allocations: 134.9 MB / 1.193 GB, free: 7.023 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001762/0.2836, allocations: 0.6658 MB / 1.194 GB, free: 6.359 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.2849, allocations: 1.122 MB / 1.195 GB, free: 5.227 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.757e-05/0.2849, allocations: 0 / 1.195 GB, free: 5.227 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.501e-05/0.285, allocations: 3.938 kB / 1.195 GB, free: 5.223 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.609e-05/0.2851, allocations: 7.938 kB / 1.195 GB, free: 5.215 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.2854, allocations: 51.83 kB / 1.195 GB, free: 5.164 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.2855, allocations: 71.77 kB / 1.195 GB, free: 5.094 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.2856, allocations: 7.984 kB / 1.195 GB, free: 5.086 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.226e-05/0.2857, allocations: 27.92 kB / 1.195 GB, free: 5.059 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.878e-05/0.2858, allocations: 23.91 kB / 1.195 GB, free: 5.035 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.2858, allocations: 12 kB / 1.195 GB, free: 5.023 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.822e-05/0.2859, allocations: 27.97 kB / 1.195 GB, free: 4.996 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.713e-05/0.2859, allocations: 15.92 kB / 1.195 GB, free: 4.98 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.228e-05/0.286, allocations: 23.92 kB / 1.195 GB, free: 4.957 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.2862, allocations: 79.69 kB / 1.195 GB, free: 4.879 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2862, allocations: 0 / 1.195 GB, free: 4.879 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2862, allocations: 0 / 1.195 GB, free: 4.879 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.2862, allocations: 0 / 1.195 GB, free: 4.879 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000542/0.2868, allocations: 314.1 kB / 1.195 GB, free: 4.539 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.2868, allocations: 8.031 kB / 1.195 GB, free: 4.531 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.2869, allocations: 12.88 kB / 1.195 GB, free: 4.52 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.287, allocations: 114.5 kB / 1.195 GB, free: 4.383 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.2871, allocations: 4.375 kB / 1.195 GB, free: 4.379 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.2871, allocations: 4.375 kB / 1.195 GB, free: 4.375 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.2873, allocations: 86.14 kB / 1.195 GB, free: 4.285 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.2873, allocations: 192 / 1.195 GB, free: 4.285 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.2873, allocations: 3.938 kB / 1.195 GB, free: 4.281 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.2873, allocations: 4 kB / 1.195 GB, free: 4.277 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.2874, allocations: 59.89 kB / 1.196 GB, free: 4.219 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.2879, allocations: 240.5 kB / 1.196 GB, free: 3.953 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.288, allocations: 74.48 kB / 1.196 GB, free: 3.871 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.727e-05/0.2881, allocations: 40.77 kB / 1.196 GB, free: 3.828 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.2881, allocations: 4.188 kB / 1.196 GB, free: 3.824 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.2883, allocations: 95.3 kB / 1.196 GB, free: 3.719 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 2.174e-06/0.2883, allocations: 0 / 1.196 GB, free: 3.719 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0003593/0.2887, allocations: 181.5 kB / 1.196 GB, free: 3.535 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.2887, allocations: 55.41 kB / 1.196 GB, free: 3.469 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.646e-05/0.2888, allocations: 109.8 kB / 1.196 GB, free: 3.352 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.2888, allocations: 29.7 kB / 1.196 GB, free: 3.316 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.2889, allocations: 92.33 kB / 1.196 GB, free: 3.219 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.2889, allocations: 27.78 kB / 1.196 GB, free: 3.191 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.2889, allocations: 33.7 kB / 1.196 GB, free: 3.152 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.293e-05/0.289, allocations: 318.8 kB / 1.197 GB, free: 2.832 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.169e-05/0.2891, allocations: 35.97 kB / 1.197 GB, free: 2.797 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.457e-05/0.2892, allocations: 68.02 kB / 1.197 GB, free: 2.723 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.2893, allocations: 102.5 kB / 1.197 GB, free: 2.613 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2893, allocations: 4 kB / 1.197 GB, free: 2.609 MB / 0.823 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001918/0.2895, allocations: 141.5 kB / 1.197 GB, free: 2.465 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.2895, allocations: 7.984 kB / 1.197 GB, free: 2.457 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2895, allocations: 0 / 1.197 GB, free: 2.457 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.2896, allocations: 4 kB / 1.197 GB, free: 2.453 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.76e-05/0.2897, allocations: 27.92 kB / 1.197 GB, free: 2.426 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.2897, allocations: 0 / 1.197 GB, free: 2.426 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.368e-05/0.2897, allocations: 4.062 kB / 1.197 GB, free: 2.422 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.2897, allocations: 11.98 kB / 1.197 GB, free: 2.41 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 9.409e-05/0.2898, allocations: 125.8 kB / 1.197 GB, free: 2.277 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.2898, allocations: 7.953 kB / 1.197 GB, free: 2.27 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.2901, allocations: 150.2 kB / 1.197 GB, free: 2.113 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.2901, allocations: 0 / 1.197 GB, free: 2.113 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.2901, allocations: 4 kB / 1.197 GB, free: 2.109 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2901, allocations: 0 / 1.197 GB, free: 2.109 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003602/0.2904, allocations: 358 kB / 1.198 GB, free: 1.723 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2904, allocations: 3.938 kB / 1.198 GB, free: 1.719 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.894e-05/0.2905, allocations: 11.98 kB / 1.198 GB, free: 1.707 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.2905, allocations: 0 / 1.198 GB, free: 1.707 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.2905, allocations: 8 kB / 1.198 GB, free: 1.699 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2905, allocations: 0 / 1.198 GB, free: 1.699 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2905, allocations: 0 / 1.198 GB, free: 1.699 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.2907, allocations: 239.4 kB / 1.198 GB, free: 1.449 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.575e-05/0.2907, allocations: 11.95 kB / 1.198 GB, free: 1.438 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.2907, allocations: 0 / 1.198 GB, free: 1.438 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.54e-05/0.2908, allocations: 11.98 kB / 1.198 GB, free: 1.426 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.2908, allocations: 7.984 kB / 1.198 GB, free: 1.418 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.2908, allocations: 4 kB / 1.198 GB, free: 1.414 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.893e-05/0.2909, allocations: 87.52 kB / 1.198 GB, free: 1.328 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2909, allocations: 0 / 1.198 GB, free: 1.328 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001708/0.2911, allocations: 20 kB / 1.198 GB, free: 1.309 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001574/0.2912, allocations: 116.9 kB / 1.198 GB, free: 1.188 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.2914, allocations: 95.75 kB / 1.198 GB, free: 1.094 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2914, allocations: 4 kB / 1.198 GB, free: 1.09 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.461e-05/0.2915, allocations: 44.19 kB / 1.198 GB, free: 1.047 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.2917, allocations: 11.98 kB / 1.198 GB, free: 1.035 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.2921, allocations: 192.4 kB / 1.199 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.204e-05/0.2921, allocations: 75.7 kB / 1.199 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.2922, allocations: 11.44 kB / 1.199 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of SimCode: time 4.91e-07/0.2922, allocations: 0 / 1.199 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of Templates: time 0.002285/0.2944, allocations: 1.12 MB / 1.2 GB, free: 15.6 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.7346135918051] Failed to read output from testmodel.py, exit status != 0: 0.3007187796756625 0.30939791 0.021416182000000002 Calling exit ...