Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.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.001166/0.001166, allocations: 76.44 kB / 19.17 MB, free: 0.7383 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.001003/0.001003, allocations: 173.2 kB / 22.46 MB, free: 2.098 MB / 18.57 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.9072/0.9072, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.7063/0.7063, allocations: 154.5 MB / 413.7 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.104e-05, allocations: 4.953 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001668/0.001699, allocations: 0.6227 MB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.003454, allocations: 1.389 MB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.003488, allocations: 0 / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 5.969e-05/0.003547, allocations: 3.938 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.147e-05/0.003589, allocations: 0 / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006728/0.004262, allocations: 183.5 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.004377, allocations: 47.91 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.004418, allocations: 4 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.718e-05/0.004475, allocations: 27.95 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.64e-05/0.004532, allocations: 23.91 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.004546, allocations: 4 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003219/0.004867, allocations: 207.7 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.426e-05/0.004932, allocations: 19.92 kB / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.00497, allocations: 8 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.005259, allocations: 235.4 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.005263, allocations: 0 / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.763e-06/0.005265, allocations: 0 / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.00527, allocations: 0 / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003723/0.005643, allocations: 373.2 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.005688, allocations: 9.469 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.663e-05/0.005715, allocations: 30.75 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.005748, allocations: 8.891 kB / 0.6212 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.777e-05/0.005836, allocations: 121.6 kB / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.005847, allocations: 4.375 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.005862, allocations: 4.375 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.006029, allocations: 123.9 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.006036, allocations: 192 / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.006046, allocations: 8.062 kB / 0.6215 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.00605, allocations: 0 / 0.6215 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.375e-05/0.006124, allocations: 93.66 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001208/0.006245, allocations: 140.8 kB / 0.6217 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.006345, allocations: 112.2 kB / 0.6218 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.689e-05/0.006412, allocations: 98.48 kB / 0.6219 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.006419, allocations: 0 / 0.6219 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.006443, allocations: 34.56 kB / 0.6219 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.006444, allocations: 0 / 0.6219 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0003219/0.006766, allocations: 314.5 kB / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.006806, allocations: 81.11 kB / 0.6223 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.007044, allocations: 151.9 kB / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.007057, allocations: 29.73 kB / 0.6225 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.007095, allocations: 88.14 kB / 0.6225 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.00712, allocations: 19.84 kB / 0.6226 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.00716, allocations: 29.7 kB / 0.6226 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.007239, allocations: 314.8 kB / 0.6229 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.007353, allocations: 167.3 kB / 0.6231 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.007486, allocations: 171.3 kB / 0.6232 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.007674, allocations: 284.9 kB / 0.6235 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.007676, allocations: 0 / 0.6235 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003166/0.007993, allocations: 388.2 kB / 0.6239 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-05/0.00806, allocations: 79.44 kB / 0.6239 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.008069, allocations: 3.938 kB / 0.6239 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.008085, allocations: 3.938 kB / 0.6239 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.503e-06/0.008086, allocations: 0 / 0.6239 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.008091, allocations: 0 / 0.6239 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.008288, allocations: 8 kB / 0.6239 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.008305, allocations: 4 kB / 0.624 GB, free: 7.305 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0002785/0.008583, allocations: 156.5 kB / 0.6241 GB, free: 7.137 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.008601, allocations: 3.953 kB / 0.6241 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.008626, allocations: 12.28 kB / 0.6241 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.00863, allocations: 4 kB / 0.6241 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.008634, allocations: 0 / 0.6241 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.008637, allocations: 144 / 0.6241 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.008762, allocations: 148.6 kB / 0.6243 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.008763, allocations: 3.938 kB / 0.6243 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.265e-06/0.008765, allocations: 3.984 kB / 0.6243 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.008769, allocations: 4 kB / 0.6243 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.008782, allocations: 7.938 kB / 0.6243 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.008784, allocations: 0 / 0.6243 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.008786, allocations: 0 / 0.6243 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.009088, allocations: 256.4 kB / 0.6245 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.009104, allocations: 11.97 kB / 0.6245 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.009125, allocations: 7.938 kB / 0.6245 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.678e-05/0.009182, allocations: 4 kB / 0.6245 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.497e-05/0.009247, allocations: 11.98 kB / 0.6246 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.009252, allocations: 3.938 kB / 0.6246 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.283e-05/0.009305, allocations: 113.7 kB / 0.6247 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.009305, allocations: 0 / 0.6247 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000234/0.009539, allocations: 63.92 kB / 0.6247 GB, free: 6.41 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005542/0.01009, allocations: 0.8493 MB / 0.6256 GB, free: 5.52 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004195/0.01051, allocations: 435.6 kB / 0.626 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01052, allocations: 0 / 0.626 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.41e-05/0.0106, allocations: 153 kB / 0.6261 GB, free: 4.883 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.01072, allocations: 4 kB / 0.6261 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.01228, allocations: 2.452 MB / 0.6285 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.309e-05/0.01233, allocations: 75.33 kB / 0.6286 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.72e-06/0.01234, allocations: 0 / 0.6286 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.01237, allocations: 20.48 kB / 0.6286 GB, free: 2.16 MB / 0.5886 GB Notification: Performance of SimCode: time 1.032e-06/0.01237, allocations: 0 / 0.6286 GB, free: 2.16 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.03244, allocations: 4.04 MB / 0.6326 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.038/7.07, allocations: 6.672 kB / 0.6326 GB, free: 14.27 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.747434097342193] Failed to read output from testmodel.py, exit status != 0: 7.152996562421322 7.16335237 7.156324498 Calling exit ...