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.001368/0.001368, allocations: 113 kB / 18.94 MB, free: 2.957 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.001763/0.001763, allocations: 215.8 kB / 22.25 MB, free: 5.125 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 8.012 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.0675/0.0675, allocations: 12.19 MB / 324.6 MB, free: 7.277 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.0007848/0.0007848, allocations: 33.27 kB / 384.1 MB, free: 46.64 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.605/2.605, allocations: 353.8 MB / 0.7787 GB, free: 1.031 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.003558/0.003558, allocations: 127.3 kB / 1.061 GB, free: 13 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2592, allocations: 134.9 MB / 1.192 GB, free: 6.164 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001867/0.261, allocations: 0.6555 MB / 1.193 GB, free: 5.508 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.2622, allocations: 0.8591 MB / 1.194 GB, free: 4.637 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.2622, allocations: 0 / 1.194 GB, free: 4.637 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.202e-05/0.2622, allocations: 7.938 kB / 1.194 GB, free: 4.629 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 6.274e-05/0.2623, allocations: 4 kB / 1.194 GB, free: 4.625 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.2625, allocations: 11.92 kB / 1.194 GB, free: 4.613 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 8.604e-05/0.2626, allocations: 23.98 kB / 1.194 GB, free: 4.59 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 9.15e-05/0.2627, allocations: 3.938 kB / 1.194 GB, free: 4.586 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 5.94e-05/0.2627, allocations: 11.94 kB / 1.194 GB, free: 4.574 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 4.146e-05/0.2628, allocations: 15.97 kB / 1.194 GB, free: 4.559 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.2628, allocations: 4 kB / 1.194 GB, free: 4.555 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 4.655e-05/0.2628, allocations: 4 kB / 1.194 GB, free: 4.551 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.2628, allocations: 4 kB / 1.194 GB, free: 4.547 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.2629, allocations: 11.92 kB / 1.194 GB, free: 4.535 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.263, allocations: 31.84 kB / 1.194 GB, free: 4.504 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.263, allocations: 0 / 1.194 GB, free: 4.504 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.783e-06/0.263, allocations: 0 / 1.194 GB, free: 4.504 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.263, allocations: 0 / 1.194 GB, free: 4.504 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.0004298/0.2634, allocations: 258.4 kB / 1.194 GB, free: 4.219 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.2634, allocations: 11.98 kB / 1.194 GB, free: 4.207 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.451e-05/0.2635, allocations: 8.891 kB / 1.194 GB, free: 4.199 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.2636, allocations: 106.5 kB / 1.194 GB, free: 4.07 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2636, allocations: 8.375 kB / 1.194 GB, free: 4.062 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.2636, allocations: 384 / 1.194 GB, free: 4.062 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.2638, allocations: 58.17 kB / 1.194 GB, free: 4 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2638, allocations: 192 / 1.194 GB, free: 4 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.2638, allocations: 3.938 kB / 1.194 GB, free: 3.996 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.2639, allocations: 0 / 1.194 GB, free: 3.996 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.264, allocations: 35.95 kB / 1.194 GB, free: 3.961 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.2643, allocations: 224 kB / 1.195 GB, free: 3.699 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.2645, allocations: 42.48 kB / 1.195 GB, free: 3.648 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.812e-05/0.2646, allocations: 28.78 kB / 1.195 GB, free: 3.617 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.872e-05/0.2646, allocations: 0 / 1.195 GB, free: 3.617 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.2646, allocations: 38.5 kB / 1.195 GB, free: 3.57 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.2646, allocations: 4 kB / 1.195 GB, free: 3.566 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2): time 0.000341/0.265, allocations: 81.59 kB / 1.195 GB, free: 3.48 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.265, allocations: 51.41 kB / 1.195 GB, free: 3.418 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.471e-05/0.2651, allocations: 101.8 kB / 1.195 GB, free: 3.309 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.2651, allocations: 25.7 kB / 1.195 GB, free: 3.277 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.2652, allocations: 88.27 kB / 1.195 GB, free: 3.188 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.2652, allocations: 3.953 kB / 1.195 GB, free: 3.184 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.2652, allocations: 13.72 kB / 1.195 GB, free: 3.164 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.2654, allocations: 314.8 kB / 1.195 GB, free: 2.848 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.988e-05/0.2655, allocations: 19.91 kB / 1.195 GB, free: 2.828 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.189e-05/0.2655, allocations: 19.98 kB / 1.195 GB, free: 2.809 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.2657, allocations: 36.89 kB / 1.195 GB, free: 2.77 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2657, allocations: 4 kB / 1.195 GB, free: 2.766 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001936/0.2659, allocations: 65.59 kB / 1.195 GB, free: 2.695 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2659, allocations: 9.094 kB / 1.195 GB, free: 2.688 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.2659, allocations: 0 / 1.195 GB, free: 2.688 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.2659, allocations: 0 / 1.195 GB, free: 2.688 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.347e-05/0.266, allocations: 7.984 kB / 1.196 GB, free: 2.68 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.266, allocations: 4.031 kB / 1.196 GB, free: 2.676 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.266, allocations: 4 kB / 1.196 GB, free: 2.672 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.2661, allocations: 3.938 kB / 1.196 GB, free: 2.668 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 9.11e-05/0.2661, allocations: 121.8 kB / 1.196 GB, free: 2.539 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.2662, allocations: 0 / 1.196 GB, free: 2.539 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.2664, allocations: 68.97 kB / 1.196 GB, free: 2.465 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2664, allocations: 4.031 kB / 1.196 GB, free: 2.461 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2664, allocations: 0 / 1.196 GB, free: 2.461 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2664, allocations: 0 / 1.196 GB, free: 2.461 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.2666, allocations: 128.7 kB / 1.196 GB, free: 2.293 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2666, allocations: 0 / 1.196 GB, free: 2.293 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.952e-05/0.2666, allocations: 11.98 kB / 1.196 GB, free: 2.281 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2666, allocations: 0 / 1.196 GB, free: 2.281 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.2666, allocations: 0 / 1.196 GB, free: 2.281 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2666, allocations: 0 / 1.196 GB, free: 2.281 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2666, allocations: 3.938 kB / 1.196 GB, free: 2.277 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.2669, allocations: 175.3 kB / 1.196 GB, free: 2.09 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.2669, allocations: 4.188 kB / 1.196 GB, free: 2.086 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.2669, allocations: 3.984 kB / 1.196 GB, free: 2.082 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-05/0.267, allocations: 8 kB / 1.196 GB, free: 2.074 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.267, allocations: 11.97 kB / 1.196 GB, free: 2.062 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.267, allocations: 0 / 1.196 GB, free: 2.062 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 4.477e-05/0.2671, allocations: 83.31 kB / 1.196 GB, free: 1.98 MB / 0.8263 GB Notification: Performance of sort global known variables: time 8e-08/0.2671, allocations: 3.938 kB / 1.196 GB, free: 1.977 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002148/0.2673, allocations: 4 kB / 1.196 GB, free: 1.973 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.0001257/0.2674, allocations: 91.25 kB / 1.196 GB, free: 1.871 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.2676, allocations: 39.89 kB / 1.196 GB, free: 1.832 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.2676, allocations: 4.062 kB / 1.196 GB, free: 1.828 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 8.133e-05/0.2677, allocations: 19.98 kB / 1.196 GB, free: 1.809 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.268, allocations: 7.938 kB / 1.196 GB, free: 1.801 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002759/0.2682, allocations: 112 kB / 1.196 GB, free: 1.668 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.2686, allocations: 0.6768 MB / 1.197 GB, free: 0.9648 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 1.905e-05/0.2686, allocations: 0 / 1.197 GB, free: 0.9648 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.2686, allocations: 15.5 kB / 1.197 GB, free: 0.9492 MB / 0.8263 GB Notification: Performance of SimCode: time 3.21e-07/0.2686, allocations: 0 / 1.197 GB, free: 0.9492 MB / 0.8263 GB Notification: Performance of Templates: time 0.002705/0.2713, allocations: 442.4 kB / 1.197 GB, free: 0.5234 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.272487804293633] Failed to read output from testmodel.py, exit status != 0: 0.2795738913118839 0.294349204 0.028168765000000002 Calling exit ...