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.00137/0.00137, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001495/0.001495, allocations: 207.6 kB / 22.24 MB, free: 5.262 MB / 14.72 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.443/1.443, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.06373/0.06373, allocations: 12.19 MB / 324.6 MB, free: 7.055 MB / 254.1 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.0008251/0.0008251, allocations: 38.28 kB / 384.1 MB, free: 47.45 MB / 302.1 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 2.5/2.5, allocations: 353.9 MB / 0.7787 GB, free: 1.602 MB / 0.5138 GB " [Timeout remaining time 177] 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: 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.003803/0.003803, allocations: 128 kB / 1.06 GB, free: 12.69 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2919, allocations: 134.9 MB / 1.192 GB, free: 5.906 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002013/0.2939, allocations: 0.6541 MB / 1.193 GB, free: 5.254 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.2951, allocations: 0.8514 MB / 1.194 GB, free: 4.391 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.441e-05/0.2951, allocations: 0 / 1.194 GB, free: 4.391 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.2951, allocations: 0 / 1.194 GB, free: 4.391 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 5.971e-05/0.2952, allocations: 3.938 kB / 1.194 GB, free: 4.387 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.2954, allocations: 11.98 kB / 1.194 GB, free: 4.375 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 7.418e-05/0.2954, allocations: 27.92 kB / 1.194 GB, free: 4.348 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 8.705e-05/0.2955, allocations: 0 / 1.194 GB, free: 4.348 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 6.508e-05/0.2956, allocations: 23.91 kB / 1.194 GB, free: 4.324 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 3.654e-05/0.2956, allocations: 4 kB / 1.194 GB, free: 4.32 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.2956, allocations: 0 / 1.194 GB, free: 4.32 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 4.711e-05/0.2957, allocations: 4 kB / 1.194 GB, free: 4.316 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.2957, allocations: 11.98 kB / 1.194 GB, free: 4.305 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.2957, allocations: 11.88 kB / 1.194 GB, free: 4.293 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.2958, allocations: 31.83 kB / 1.194 GB, free: 4.262 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2959, allocations: 0 / 1.194 GB, free: 4.262 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2959, allocations: 0 / 1.194 GB, free: 4.262 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2959, allocations: 0 / 1.194 GB, free: 4.262 MB / 0.8263 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.0004649/0.2963, allocations: 262.4 kB / 1.194 GB, free: 3.973 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.2964, allocations: 11.98 kB / 1.194 GB, free: 3.961 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.947e-05/0.2965, allocations: 8.891 kB / 1.194 GB, free: 3.953 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.2966, allocations: 106.5 kB / 1.194 GB, free: 3.824 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.2966, allocations: 4.375 kB / 1.194 GB, free: 3.82 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-06/0.2966, allocations: 384 / 1.194 GB, free: 3.82 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.2968, allocations: 50.23 kB / 1.194 GB, free: 3.766 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2968, allocations: 192 / 1.194 GB, free: 3.766 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2968, allocations: 3.938 kB / 1.194 GB, free: 3.762 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2968, allocations: 0 / 1.194 GB, free: 3.762 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.297, allocations: 47.83 kB / 1.194 GB, free: 3.715 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.2973, allocations: 196.6 kB / 1.194 GB, free: 3.492 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.2974, allocations: 34.56 kB / 1.195 GB, free: 3.449 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.2e-05/0.2975, allocations: 22.83 kB / 1.195 GB, free: 3.426 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.2976, allocations: 3.938 kB / 1.195 GB, free: 3.422 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.2976, allocations: 34.56 kB / 1.195 GB, free: 3.379 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.2976, allocations: 4 kB / 1.195 GB, free: 3.375 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2): time 0.0003694/0.298, allocations: 85.53 kB / 1.195 GB, free: 3.285 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.298, allocations: 51.41 kB / 1.195 GB, free: 3.223 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.721e-05/0.2981, allocations: 101.8 kB / 1.195 GB, free: 3.113 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.2981, allocations: 25.7 kB / 1.195 GB, free: 3.082 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 5.538e-05/0.2982, allocations: 84.14 kB / 1.195 GB, free: 2.996 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.2982, allocations: 11.89 kB / 1.195 GB, free: 2.984 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.2982, allocations: 9.719 kB / 1.195 GB, free: 2.969 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2984, allocations: 327 kB / 1.195 GB, free: 2.641 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.094e-05/0.2984, allocations: 11.98 kB / 1.195 GB, free: 2.629 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.312e-05/0.2985, allocations: 11.98 kB / 1.195 GB, free: 2.617 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.2987, allocations: 48.75 kB / 1.195 GB, free: 2.566 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2987, allocations: 0 / 1.195 GB, free: 2.566 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002033/0.2989, allocations: 69.67 kB / 1.195 GB, free: 2.492 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2989, allocations: 4 kB / 1.195 GB, free: 2.488 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2989, allocations: 0 / 1.195 GB, free: 2.488 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2989, allocations: 0 / 1.195 GB, free: 2.488 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.116e-05/0.299, allocations: 11.98 kB / 1.195 GB, free: 2.477 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.299, allocations: 0 / 1.195 GB, free: 2.477 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.168e-05/0.2991, allocations: 7.984 kB / 1.195 GB, free: 2.469 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.2991, allocations: 0 / 1.195 GB, free: 2.469 MB / 0.8263 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 8.148e-05/0.2992, allocations: 109.8 kB / 1.195 GB, free: 2.352 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.2992, allocations: 7.969 kB / 1.196 GB, free: 2.344 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.2994, allocations: 72.91 kB / 1.196 GB, free: 2.266 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2994, allocations: 4 kB / 1.196 GB, free: 2.262 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2994, allocations: 0 / 1.196 GB, free: 2.262 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2994, allocations: 3.984 kB / 1.196 GB, free: 2.258 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.2996, allocations: 101.3 kB / 1.196 GB, free: 2.129 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.2996, allocations: 4 kB / 1.196 GB, free: 2.125 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.348e-05/0.2996, allocations: 7.984 kB / 1.196 GB, free: 2.117 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.2996, allocations: 11.97 kB / 1.196 GB, free: 2.105 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.2996, allocations: 0 / 1.196 GB, free: 2.105 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2996, allocations: 0 / 1.196 GB, free: 2.105 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2996, allocations: 0 / 1.196 GB, free: 2.105 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.2999, allocations: 167.4 kB / 1.196 GB, free: 1.926 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-06/0.2999, allocations: 3.938 kB / 1.196 GB, free: 1.922 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.2999, allocations: 7.938 kB / 1.196 GB, free: 1.914 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.916e-05/0.3, allocations: 7.984 kB / 1.196 GB, free: 1.906 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.3, allocations: 4.031 kB / 1.196 GB, free: 1.902 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.3001, allocations: 0 / 1.196 GB, free: 1.902 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 5.625e-05/0.3001, allocations: 87.27 kB / 1.196 GB, free: 1.816 MB / 0.8263 GB Notification: Performance of sort global known variables: time 7e-08/0.3001, allocations: 0 / 1.196 GB, free: 1.816 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002234/0.3003, allocations: 7.938 kB / 1.196 GB, free: 1.809 MB / 0.8263 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001217/0.3005, allocations: 91.25 kB / 1.196 GB, free: 1.707 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0002121/0.3007, allocations: 35.95 kB / 1.196 GB, free: 1.672 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3007, allocations: 4.062 kB / 1.196 GB, free: 1.668 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 8.723e-05/0.3008, allocations: 19.92 kB / 1.196 GB, free: 1.648 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.3011, allocations: 8 kB / 1.196 GB, free: 1.641 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/0.3014, allocations: 114.1 kB / 1.196 GB, free: 1.504 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.958e-05/0.3014, allocations: 59.34 kB / 1.196 GB, free: 1.426 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 2.288e-05/0.3015, allocations: 0 / 1.196 GB, free: 1.426 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.3015, allocations: 11.44 kB / 1.196 GB, free: 1.414 MB / 0.8263 GB Notification: Performance of SimCode: time 4.21e-07/0.3015, allocations: 4.062 kB / 1.196 GB, free: 1.41 MB / 0.8263 GB Notification: Performance of Templates: time 0.002862/0.3044, allocations: 460.8 kB / 1.197 GB, free: 0.9648 MB / 0.8263 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: 8.341040458530188] Failed to read output from testmodel.py, exit status != 0: 0.3135002516210079 0.328469591 0.029337086000000002 Calling exit ...