Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.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.000715/0.000715, allocations: 79.69 kB / 20.03 MB, free: 4.492 MB / 18.57 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.001135/0.001135, allocations: 165.3 kB / 23.33 MB, free: 1.191 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.8535/0.8535, allocations: 177.1 MB / 203.7 MB, free: 5.699 MB / 186.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.03415/0.03415, allocations: 9.116 MB / 269.2 MB, free: 4.434 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.0004017/0.0004017, allocations: 23.97 kB / 328.7 MB, free: 5.785 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.526/1.526, allocations: 274.9 MB / 0.6476 GB, free: 2.844 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.9295 GB, free: 20.87 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.893e-05, allocations: 2.281 kB / 0.9295 GB, free: 20.87 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001003/0.001022, allocations: 0.644 MB / 0.9302 GB, free: 20.47 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0006107/0.001633, allocations: 0.8525 MB / 0.931 GB, free: 19.83 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.145e-05/0.001664, allocations: 1.125 kB / 0.931 GB, free: 19.83 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.095e-05/0.001685, allocations: 0 / 0.931 GB, free: 19.83 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 5.82e-05/0.001743, allocations: 6.109 kB / 0.931 GB, free: 19.82 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.001902, allocations: 13.88 kB / 0.931 GB, free: 19.82 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 5.831e-05/0.001961, allocations: 27.58 kB / 0.931 GB, free: 19.8 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 7.335e-05/0.002034, allocations: 3.828 kB / 0.931 GB, free: 19.8 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 6.167e-05/0.002096, allocations: 11.41 kB / 0.9311 GB, free: 19.8 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 2.983e-05/0.002126, allocations: 13.45 kB / 0.9311 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.002138, allocations: 2.531 kB / 0.9311 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 3.76e-05/0.002176, allocations: 5.469 kB / 0.9311 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.002188, allocations: 4.547 kB / 0.9311 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 1.639e-05/0.002205, allocations: 8.156 kB / 0.9311 GB, free: 19.78 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 8.718e-05/0.002292, allocations: 33.3 kB / 0.9311 GB, free: 19.77 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.002294, allocations: 0 / 0.9311 GB, free: 19.77 MB / 0.7293 GB Notification: Performance of FrontEnd: time 8.12e-07/0.002295, allocations: 0 / 0.9311 GB, free: 19.77 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 2.946e-06/0.002297, allocations: 0 / 0.9311 GB, free: 19.77 MB / 0.7293 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002715/0.002569, allocations: 260.6 kB / 0.9314 GB, free: 19.5 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.002601, allocations: 17.33 kB / 0.9314 GB, free: 19.49 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.083e-05/0.002662, allocations: 3.234 kB / 0.9314 GB, free: 19.49 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.119e-05/0.002713, allocations: 106 kB / 0.9315 GB, free: 19.37 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-06/0.00272, allocations: 1.969 kB / 0.9315 GB, free: 19.37 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.002733, allocations: 5.5 kB / 0.9315 GB, free: 19.36 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.002844, allocations: 53.36 kB / 0.9315 GB, free: 19.32 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.002851, allocations: 192 / 0.9315 GB, free: 19.32 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.002858, allocations: 5.312 kB / 0.9316 GB, free: 19.32 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.002862, allocations: 384 / 0.9316 GB, free: 19.32 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.669e-05/0.002949, allocations: 40.64 kB / 0.9316 GB, free: 19.31 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.00314, allocations: 198 kB / 0.9318 GB, free: 19.1 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 6.769e-05/0.003208, allocations: 41.14 kB / 0.9318 GB, free: 19.07 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.203e-05/0.00325, allocations: 22.73 kB / 0.9318 GB, free: 19.05 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.003267, allocations: 5.328 kB / 0.9318 GB, free: 19.05 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.221e-05/0.00328, allocations: 32.3 kB / 0.9319 GB, free: 19.01 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.00328, allocations: 0 / 0.9319 GB, free: 19.01 MB / 0.7293 GB Notification: Performance of matching and sorting (n=2): time 0.0002002/0.00348, allocations: 87.89 kB / 0.932 GB, free: 18.96 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.079e-05/0.003491, allocations: 52.97 kB / 0.932 GB, free: 18.9 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.748e-05/0.003529, allocations: 101.2 kB / 0.9321 GB, free: 18.8 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 4.368e-06/0.003533, allocations: 29.64 kB / 0.9321 GB, free: 18.77 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 1.772e-05/0.003551, allocations: 82.16 kB / 0.9322 GB, free: 18.68 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.278e-05/0.003564, allocations: 10.19 kB / 0.9322 GB, free: 18.68 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.918e-05/0.003583, allocations: 13.08 kB / 0.9322 GB, free: 18.66 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.269e-05/0.003606, allocations: 312.8 kB / 0.9325 GB, free: 18.35 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.949e-05/0.003645, allocations: 23.06 kB / 0.9326 GB, free: 18.34 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.00368, allocations: 13.7 kB / 0.9326 GB, free: 18.34 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.375e-05/0.003753, allocations: 37.69 kB / 0.9326 GB, free: 18.33 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.003755, allocations: 0 / 0.9326 GB, free: 18.33 MB / 0.7293 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.463e-05/0.003849, allocations: 71.03 kB / 0.9327 GB, free: 18.29 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.00386, allocations: 6.203 kB / 0.9327 GB, free: 18.29 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.003864, allocations: 0 / 0.9327 GB, free: 18.29 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.003876, allocations: 5.438 kB / 0.9327 GB, free: 18.28 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.456e-05/0.00393, allocations: 12.42 kB / 0.9327 GB, free: 18.28 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.003937, allocations: 0 / 0.9327 GB, free: 18.28 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/0.00396, allocations: 6.828 kB / 0.9327 GB, free: 18.28 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.003964, allocations: 1.312 kB / 0.9327 GB, free: 18.28 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 2.773e-05/0.003992, allocations: 107.8 kB / 0.9328 GB, free: 18.16 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.004005, allocations: 9.453 kB / 0.9328 GB, free: 18.16 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.004124, allocations: 72.34 kB / 0.9329 GB, free: 18.12 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.004126, allocations: 3.938 kB / 0.9329 GB, free: 18.11 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.004127, allocations: 0 / 0.9329 GB, free: 18.11 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-06/0.004132, allocations: 6.922 kB / 0.9329 GB, free: 18.11 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-06/0.004141, allocations: 0 / 0.9329 GB, free: 18.11 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.697e-05/0.004178, allocations: 7.078 kB / 0.9329 GB, free: 18.11 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.00421, allocations: 2.703 kB / 0.9329 GB, free: 18.11 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001073/0.004317, allocations: 155.9 kB / 0.9331 GB, free: 17.99 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001027/0.00442, allocations: 233.4 kB / 0.9333 GB, free: 17.78 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.715e-05/0.004467, allocations: 20 kB / 0.9333 GB, free: 17.77 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 1.321e-05/0.00448, allocations: 80.27 kB / 0.9334 GB, free: 17.7 MB / 0.7293 GB Notification: Performance of Backend: time 1.1e-07/0.00448, allocations: 3.938 kB / 0.9334 GB, free: 17.7 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0002653/0.004745, allocations: 105.5 kB / 0.9335 GB, free: 17.62 MB / 0.7293 GB Notification: Performance of SimCode: time 0.000252/0.004997, allocations: 0.5582 MB / 0.934 GB, free: 17.04 MB / 0.7293 GB Notification: Performance of Templates: time 0.002126/0.007123, allocations: 0.6281 MB / 0.9346 GB, free: 16.96 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.7321707168594] Failed to read output from testmodel.py, exit status != 0: 0.011211526580154896 0.022588235 0.018685337 Calling exit ...