Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.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.0006455/0.0006455, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.000744/0.000744, allocations: 211.9 kB / 23.01 MB, free: 3.113 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.8769/0.8769, allocations: 230.6 MB / 256.8 MB, free: 3.48 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7658/0.7658, allocations: 203.8 MB / 0.5049 GB, free: 0.6758 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") [Timeout 660] "Notification: IDEAS 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.001001/0.001001, allocations: 71.89 kB / 0.7195 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4694/0.4704, allocations: 102 MB / 0.8191 GB, free: 25.28 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002065/0.4724, allocations: 1.53 MB / 0.8206 GB, free: 24.23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000927/0.4734, allocations: 0.7766 MB / 0.8213 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.635e-05/0.4734, allocations: 1.688 kB / 0.8213 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.4734, allocations: 5.156 kB / 0.8213 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.379e-05/0.4735, allocations: 10.69 kB / 0.8214 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.4738, allocations: 94.77 kB / 0.8214 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.4739, allocations: 37.66 kB / 0.8215 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.363e-05/0.474, allocations: 10.97 kB / 0.8215 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.436e-05/0.4741, allocations: 22.22 kB / 0.8215 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.391e-05/0.4742, allocations: 22.12 kB / 0.8215 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.4742, allocations: 3.438 kB / 0.8215 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.4744, allocations: 115.7 kB / 0.8216 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.4744, allocations: 6.016 kB / 0.8216 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.4744, allocations: 25.61 kB / 0.8217 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.4746, allocations: 100.1 kB / 0.8218 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4746, allocations: 1.094 kB / 0.8218 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4746, allocations: 1.531 kB / 0.8218 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.4746, allocations: 0 / 0.8218 GB, free: 23.51 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003105/0.4749, allocations: 295.8 kB / 0.8221 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.4749, allocations: 11.22 kB / 0.8221 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.4751, allocations: 16.66 kB / 0.8221 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.4752, allocations: 120.2 kB / 0.8222 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.4752, allocations: 7.078 kB / 0.8222 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.4752, allocations: 3.078 kB / 0.8222 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.4753, allocations: 61.38 kB / 0.8223 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.962e-06/0.4754, allocations: 3.938 kB / 0.8223 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.4754, allocations: 1.469 kB / 0.8223 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4754, allocations: 3.406 kB / 0.8223 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.026e-05/0.4754, allocations: 28.78 kB / 0.8223 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002589/0.4757, allocations: 249.7 kB / 0.8225 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.008e-05/0.4757, allocations: 33.42 kB / 0.8226 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/0.4758, allocations: 16.36 kB / 0.8226 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/0.4759, allocations: 36.84 kB / 0.8226 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.476, allocations: 36.84 kB / 0.8227 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.476, allocations: 0 / 0.8227 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001649/0.4761, allocations: 66.34 kB / 0.8227 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.725e-05/0.4761, allocations: 51.41 kB / 0.8228 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.339e-05/0.4762, allocations: 122.9 kB / 0.8229 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.599e-06/0.4762, allocations: 29.64 kB / 0.8229 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.534e-05/0.4762, allocations: 89.88 kB / 0.823 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.4762, allocations: 7.953 kB / 0.823 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.4763, allocations: 14.08 kB / 0.823 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.045e-05/0.4763, allocations: 325.8 kB / 0.8233 GB, free: 22 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.806e-05/0.4763, allocations: 8.219 kB / 0.8233 GB, free: 22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.192e-05/0.4763, allocations: 15.44 kB / 0.8234 GB, free: 22 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.651e-05/0.4764, allocations: 24.84 kB / 0.8234 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4764, allocations: 0.7812 kB / 0.8234 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.575e-05/0.4765, allocations: 56.09 kB / 0.8234 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.4765, allocations: 7.562 kB / 0.8234 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.4765, allocations: 0 / 0.8234 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.4765, allocations: 0 / 0.8234 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.37e-05/0.4766, allocations: 9.891 kB / 0.8234 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.4766, allocations: 0.7812 kB / 0.8234 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.897e-05/0.4766, allocations: 7.359 kB / 0.8235 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.4766, allocations: 4.562 kB / 0.8235 GB, free: 21.93 MB / 0.6355 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 3.756e-05/0.4766, allocations: 118.4 kB / 0.8236 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.4766, allocations: 7.531 kB / 0.8236 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.4768, allocations: 64.94 kB / 0.8236 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4768, allocations: 0.8125 kB / 0.8236 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4768, allocations: 0.6562 kB / 0.8236 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4768, allocations: 0.5625 kB / 0.8236 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.286e-05/0.4769, allocations: 138.3 kB / 0.8238 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4769, allocations: 0 / 0.8238 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.34e-05/0.4769, allocations: 6.312 kB / 0.8238 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4769, allocations: 0 / 0.8238 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.4769, allocations: 9.094 kB / 0.8238 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4769, allocations: 4.531 kB / 0.8238 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4769, allocations: 4.641 kB / 0.8238 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.526e-05/0.477, allocations: 156.5 kB / 0.8239 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.085e-05/0.477, allocations: 10.14 kB / 0.824 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.477, allocations: 2.266 kB / 0.824 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3e-05/0.477, allocations: 1.984 kB / 0.824 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.4771, allocations: 6.984 kB / 0.824 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.4771, allocations: 4.75 kB / 0.824 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.202e-05/0.4771, allocations: 94.09 kB / 0.8241 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4771, allocations: 1.156 kB / 0.8241 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000157/0.4772, allocations: 15.94 kB / 0.8241 GB, free: 21.34 MB / 0.6355 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.0001221/0.4774, allocations: 114.1 kB / 0.8242 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.4775, allocations: 30.72 kB / 0.8242 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.4775, allocations: 0 / 0.8242 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-05/0.4775, allocations: 13.81 kB / 0.8242 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.4777, allocations: 1.719 kB / 0.8242 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002557/0.4779, allocations: 166.6 kB / 0.8244 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.167e-05/0.478, allocations: 0.681 MB / 0.8251 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/0.478, allocations: 10.81 kB / 0.8251 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of SimCode: time 5.71e-07/0.478, allocations: 4 kB / 0.8251 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of Templates: time 0.002026/0.48, allocations: 0.833 MB / 0.8259 GB, free: 20.29 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.597997054923326] Failed to read output from testmodel.py, exit status != 0: 0.4859042800962925 0.493551734 0.017175890000000003 Calling exit ...