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.0008677/0.0008677, 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.000958/0.000958, 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.9796/0.9796, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.04018/0.04018, allocations: 12.19 MB / 325.4 MB, free: 6.105 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.000524/0.000524, allocations: 31.94 kB / 384.8 MB, free: 10.52 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.817/1.817, allocations: 353.9 MB / 0.7795 GB, free: 4.613 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.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.001602/0.001602, allocations: 119.1 kB / 1.061 GB, free: 24.44 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2813, allocations: 134.9 MB / 1.193 GB, free: 6.996 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001709/0.283, allocations: 0.6378 MB / 1.194 GB, free: 6.359 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00083/0.2838, allocations: 0.8592 MB / 1.194 GB, free: 5.488 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.781e-05/0.2839, allocations: 4 kB / 1.194 GB, free: 5.484 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.2839, allocations: 0 / 1.194 GB, free: 5.484 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.996e-05/0.284, allocations: 3.938 kB / 1.194 GB, free: 5.48 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.2842, allocations: 11.98 kB / 1.194 GB, free: 5.469 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.025e-05/0.2843, allocations: 19.94 kB / 1.194 GB, free: 5.449 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.2844, allocations: 7.984 kB / 1.194 GB, free: 5.441 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.963e-05/0.2845, allocations: 8 kB / 1.194 GB, free: 5.434 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.361e-05/0.2845, allocations: 11.91 kB / 1.194 GB, free: 5.422 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.2845, allocations: 8 kB / 1.194 GB, free: 5.414 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.264e-05/0.2846, allocations: 8 kB / 1.194 GB, free: 5.406 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.2846, allocations: 0 / 1.194 GB, free: 5.406 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.2846, allocations: 11.94 kB / 1.195 GB, free: 5.395 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.2847, allocations: 27.83 kB / 1.195 GB, free: 5.367 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2847, allocations: 0 / 1.195 GB, free: 5.367 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.807e-06/0.2847, allocations: 4 kB / 1.195 GB, free: 5.363 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.2848, allocations: 0 / 1.195 GB, free: 5.363 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004135/0.2852, allocations: 258.3 kB / 1.195 GB, free: 5.078 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.2852, allocations: 12.03 kB / 1.195 GB, free: 5.066 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.2853, allocations: 8.891 kB / 1.195 GB, free: 5.059 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.304e-05/0.2854, allocations: 106.5 kB / 1.195 GB, free: 4.93 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.2854, allocations: 384 / 1.195 GB, free: 4.93 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.2854, allocations: 4.312 kB / 1.195 GB, free: 4.926 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.2856, allocations: 58.22 kB / 1.195 GB, free: 4.863 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2856, allocations: 192 / 1.195 GB, free: 4.863 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.2856, allocations: 3.938 kB / 1.195 GB, free: 4.859 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.2856, allocations: 0 / 1.195 GB, free: 4.859 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.473e-05/0.2857, allocations: 35.95 kB / 1.195 GB, free: 4.824 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.286, allocations: 200.6 kB / 1.195 GB, free: 4.598 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.586e-05/0.2861, allocations: 34.56 kB / 1.195 GB, free: 4.555 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.974e-05/0.2861, allocations: 28.89 kB / 1.195 GB, free: 4.523 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.2862, allocations: 3.938 kB / 1.195 GB, free: 4.52 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.2862, allocations: 30.56 kB / 1.195 GB, free: 4.48 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.2862, allocations: 0 / 1.195 GB, free: 4.48 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0003802/0.2866, allocations: 93.53 kB / 1.195 GB, free: 4.383 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.2866, allocations: 51.41 kB / 1.195 GB, free: 4.32 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.685e-05/0.2867, allocations: 93.86 kB / 1.196 GB, free: 4.219 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.2867, allocations: 29.7 kB / 1.196 GB, free: 4.184 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.2867, allocations: 92.06 kB / 1.196 GB, free: 4.09 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.2867, allocations: 3.953 kB / 1.196 GB, free: 4.086 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.2868, allocations: 13.72 kB / 1.196 GB, free: 4.066 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.604e-05/0.2869, allocations: 318.8 kB / 1.196 GB, free: 3.746 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.2869, allocations: 16.11 kB / 1.196 GB, free: 3.73 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.756e-05/0.2869, allocations: 23.97 kB / 1.196 GB, free: 3.707 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.855e-05/0.287, allocations: 32.83 kB / 1.196 GB, free: 3.672 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.287, allocations: 4 kB / 1.196 GB, free: 3.668 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001113/0.2871, allocations: 69.53 kB / 1.196 GB, free: 3.594 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2871, allocations: 12.09 kB / 1.196 GB, free: 3.582 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2871, allocations: 0 / 1.196 GB, free: 3.582 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.2872, allocations: 0 / 1.196 GB, free: 3.582 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.218e-05/0.2872, allocations: 7.984 kB / 1.196 GB, free: 3.574 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2872, allocations: 3.984 kB / 1.196 GB, free: 3.57 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.272e-05/0.2873, allocations: 4 kB / 1.196 GB, free: 3.566 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.2873, allocations: 4 kB / 1.196 GB, free: 3.562 MB / 0.823 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 6.2e-05/0.2873, allocations: 113.8 kB / 1.196 GB, free: 3.441 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.2873, allocations: 3.938 kB / 1.196 GB, free: 3.438 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.2875, allocations: 76.91 kB / 1.196 GB, free: 3.355 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2875, allocations: 0 / 1.196 GB, free: 3.355 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2875, allocations: 0 / 1.196 GB, free: 3.355 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2875, allocations: 0 / 1.196 GB, free: 3.355 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.191e-05/0.2876, allocations: 105.3 kB / 1.196 GB, free: 3.223 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2876, allocations: 0 / 1.196 GB, free: 3.223 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-05/0.2876, allocations: 8 kB / 1.196 GB, free: 3.215 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2876, allocations: 3.938 kB / 1.196 GB, free: 3.211 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.2876, allocations: 3.938 kB / 1.196 GB, free: 3.207 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2876, allocations: 8.016 kB / 1.196 GB, free: 3.199 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2876, allocations: 0 / 1.196 GB, free: 3.199 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.2878, allocations: 159.5 kB / 1.197 GB, free: 3.027 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-06/0.2878, allocations: 11.92 kB / 1.197 GB, free: 3.016 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.2878, allocations: 0 / 1.197 GB, free: 3.016 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.759e-05/0.2878, allocations: 8 kB / 1.197 GB, free: 3.008 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.2879, allocations: 7.922 kB / 1.197 GB, free: 3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.2879, allocations: 0 / 1.197 GB, free: 3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.761e-05/0.2879, allocations: 87.5 kB / 1.197 GB, free: 2.914 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.2879, allocations: 0 / 1.197 GB, free: 2.914 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001423/0.288, allocations: 4 kB / 1.197 GB, free: 2.91 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: 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.0001269/0.2882, allocations: 91.25 kB / 1.197 GB, free: 2.809 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.2883, allocations: 43.89 kB / 1.197 GB, free: 2.766 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2883, allocations: 0 / 1.197 GB, free: 2.766 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.167e-05/0.2883, allocations: 24.05 kB / 1.197 GB, free: 2.742 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.2886, allocations: 1.547 kB / 1.197 GB, free: 2.742 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002766/0.2888, allocations: 143.8 kB / 1.197 GB, free: 2.57 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.525e-05/0.2889, allocations: 59.34 kB / 1.197 GB, free: 2.492 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.2889, allocations: 11.58 kB / 1.197 GB, free: 2.48 MB / 0.823 GB Notification: Performance of SimCode: time 4.01e-07/0.2889, allocations: 0 / 1.197 GB, free: 2.48 MB / 0.823 GB Notification: Performance of Templates: time 0.001612/0.2905, allocations: 0.553 MB / 1.198 GB, free: 1.93 MB / 0.823 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.028136857785285] Failed to read output from testmodel.py, exit status != 0: 0.29707928467541933 0.30584123299999993 0.01938337 Calling exit ...