Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.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.001763/0.001763, allocations: 106.4 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.00301/0.00301, allocations: 224.4 kB / 22.26 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 8.016 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.06276/0.06276, allocations: 12.19 MB / 324.6 MB, free: 7.266 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.0007451/0.0007451, allocations: 32.56 kB / 384.1 MB, free: 46.63 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.516/2.516, allocations: 353.8 MB / 0.7787 GB, free: 1.023 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.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract") [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.00349/0.00349, allocations: 123.9 kB / 1.061 GB, free: 12.98 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2707, allocations: 134.9 MB / 1.192 GB, free: 6.16 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001896/0.2726, allocations: 0.7012 MB / 1.193 GB, free: 5.461 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.2736, allocations: 0.8358 MB / 1.194 GB, free: 4.613 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.578e-05/0.2736, allocations: 0 / 1.194 GB, free: 4.613 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.2736, allocations: 3.938 kB / 1.194 GB, free: 4.609 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.094e-05/0.2737, allocations: 11.92 kB / 1.194 GB, free: 4.598 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 5.781e-05/0.2738, allocations: 15.98 kB / 1.194 GB, free: 4.582 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 8.856e-05/0.2739, allocations: 39.86 kB / 1.194 GB, free: 4.543 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.274, allocations: 15.97 kB / 1.194 GB, free: 4.527 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 7.334e-05/0.274, allocations: 19.88 kB / 1.194 GB, free: 4.508 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.2741, allocations: 23.91 kB / 1.194 GB, free: 4.484 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.2741, allocations: 4 kB / 1.194 GB, free: 4.48 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 8.896e-06/0.2741, allocations: 7.938 kB / 1.194 GB, free: 4.473 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.2741, allocations: 4 kB / 1.194 GB, free: 4.469 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 3.446e-05/0.2742, allocations: 15.92 kB / 1.194 GB, free: 4.453 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.2743, allocations: 47.75 kB / 1.194 GB, free: 4.406 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2743, allocations: 0 / 1.194 GB, free: 4.406 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2743, allocations: 4 kB / 1.194 GB, free: 4.402 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.2743, allocations: 0 / 1.194 GB, free: 4.402 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005331/0.2748, allocations: 278.3 kB / 1.194 GB, free: 4.098 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2749, allocations: 11.98 kB / 1.194 GB, free: 4.086 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.2749, allocations: 8.891 kB / 1.194 GB, free: 4.078 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.275, allocations: 118.5 kB / 1.194 GB, free: 3.938 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.275, allocations: 4.375 kB / 1.194 GB, free: 3.934 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.2751, allocations: 8.375 kB / 1.194 GB, free: 3.926 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.2753, allocations: 70.16 kB / 1.194 GB, free: 3.852 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2753, allocations: 4.188 kB / 1.194 GB, free: 3.848 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.2753, allocations: 3.938 kB / 1.194 GB, free: 3.844 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2753, allocations: 0 / 1.194 GB, free: 3.844 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002809/0.2756, allocations: 63.92 kB / 1.195 GB, free: 3.781 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.276, allocations: 240 kB / 1.195 GB, free: 3.504 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.2762, allocations: 58.42 kB / 1.195 GB, free: 3.438 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.2763, allocations: 40.91 kB / 1.195 GB, free: 3.395 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.2764, allocations: 4 kB / 1.195 GB, free: 3.391 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.2764, allocations: 38.56 kB / 1.195 GB, free: 3.344 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2764, allocations: 0 / 1.195 GB, free: 3.344 MB / 0.8263 GB Notification: Performance of matching and sorting (n=3): time 0.0005324/0.2769, allocations: 129.6 kB / 1.195 GB, free: 3.211 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.277, allocations: 55.41 kB / 1.195 GB, free: 3.145 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.915e-05/0.2771, allocations: 105.8 kB / 1.195 GB, free: 3.031 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.2771, allocations: 25.7 kB / 1.195 GB, free: 3 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.2771, allocations: 92.09 kB / 1.195 GB, free: 2.906 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.2772, allocations: 3.953 kB / 1.195 GB, free: 2.902 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.2772, allocations: 21.66 kB / 1.195 GB, free: 2.875 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2773, allocations: 314.8 kB / 1.196 GB, free: 2.559 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.2775, allocations: 31.97 kB / 1.196 GB, free: 2.527 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.2776, allocations: 35.95 kB / 1.196 GB, free: 2.492 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.2779, allocations: 60.8 kB / 1.196 GB, free: 2.43 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.2779, allocations: 11.88 kB / 1.196 GB, free: 2.418 MB / 0.8263 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003063/0.2782, allocations: 97.61 kB / 1.196 GB, free: 2.316 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.2782, allocations: 8 kB / 1.196 GB, free: 2.309 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.2782, allocations: 0 / 1.196 GB, free: 2.309 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.2782, allocations: 3.938 kB / 1.196 GB, free: 2.305 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.2783, allocations: 19.92 kB / 1.196 GB, free: 2.285 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2783, allocations: 0 / 1.196 GB, free: 2.285 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.421e-05/0.2784, allocations: 15.94 kB / 1.196 GB, free: 2.27 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.2784, allocations: 4 kB / 1.196 GB, free: 2.266 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 (3): * Single equations (assignments): 3 * 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.113e-05/0.2785, allocations: 113.8 kB / 1.196 GB, free: 2.145 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.2786, allocations: 7.984 kB / 1.196 GB, free: 2.137 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.2786, allocations: 8 kB / 1.196 GB, free: 2.121 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.2786, allocations: 0 / 1.196 GB, free: 2.121 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2786, allocations: 0 / 1.196 GB, free: 2.121 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2786, allocations: 0 / 1.196 GB, free: 2.121 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.2788, allocations: 144.6 kB / 1.196 GB, free: 1.938 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2788, allocations: 4 kB / 1.196 GB, free: 1.934 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.349e-05/0.2789, allocations: 19.97 kB / 1.196 GB, free: 1.914 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.2789, allocations: 0 / 1.196 GB, free: 1.914 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.2789, allocations: 0 / 1.196 GB, free: 1.914 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2789, allocations: 0 / 1.196 GB, free: 1.914 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.2789, allocations: 4 kB / 1.196 GB, free: 1.91 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.2793, allocations: 199.3 kB / 1.196 GB, free: 1.699 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.2793, allocations: 4 kB / 1.196 GB, free: 1.695 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.2793, allocations: 0 / 1.196 GB, free: 1.695 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.2794, allocations: 19.97 kB / 1.196 GB, free: 1.676 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.2794, allocations: 0 / 1.196 GB, free: 1.676 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.2794, allocations: 4 kB / 1.196 GB, free: 1.672 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 5.675e-05/0.2795, allocations: 87.27 kB / 1.196 GB, free: 1.586 MB / 0.8263 GB Notification: Performance of sort global known variables: time 9e-08/0.2795, allocations: 4 kB / 1.196 GB, free: 1.582 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002198/0.2797, allocations: 8 kB / 1.197 GB, free: 1.574 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 (3): * Single equations (assignments): 3 * 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.0001235/0.2798, allocations: 91.25 kB / 1.197 GB, free: 1.477 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0003218/0.2801, allocations: 67.92 kB / 1.197 GB, free: 1.41 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2801, allocations: 0 / 1.197 GB, free: 1.41 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.2803, allocations: 44.36 kB / 1.197 GB, free: 1.367 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.2806, allocations: 16.97 kB / 1.197 GB, free: 1.352 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.2809, allocations: 117.5 kB / 1.197 GB, free: 1.211 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.2812, allocations: 0.6846 MB / 1.197 GB, free: 0.5 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 2.968e-05/0.2812, allocations: 8 kB / 1.198 GB, free: 0.4922 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.2813, allocations: 7.531 kB / 1.198 GB, free: 496 kB / 0.8263 GB Notification: Performance of SimCode: time 3.31e-07/0.2813, allocations: 0 / 1.198 GB, free: 496 kB / 0.8263 GB Notification: Performance of Templates: time 0.003216/0.2845, allocations: 0.6933 MB / 1.198 GB, free: 15.8 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.17377433180809] Failed to read output from testmodel.py, exit status != 0: 0.2927927151322365 0.30666498400000003 0.02939761 Calling exit ...