Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.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.000908/0.000908, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009323/0.0009323, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8904/0.8904, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7333/0.7333, allocations: 154.5 MB / 413.7 MB, free: 0.8398 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.SmoothInterpolation,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.124e-05, allocations: 3.781 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001245/0.001266, allocations: 0.619 MB / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.002781, allocations: 1.435 MB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.002807, allocations: 0 / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 5.427e-05/0.002861, allocations: 7.984 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.005e-05/0.002901, allocations: 7.875 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006029/0.003504, allocations: 215 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.189e-05/0.003586, allocations: 35.97 kB / 0.6204 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.946e-05/0.003626, allocations: 3.984 kB / 0.6204 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.052e-05/0.003666, allocations: 19.92 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.252e-05/0.003709, allocations: 23.97 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.00372, allocations: 0 / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003206/0.00404, allocations: 259.5 kB / 0.6207 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.506e-05/0.004075, allocations: 11.92 kB / 0.6207 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.0041, allocations: 8 kB / 0.6207 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.004346, allocations: 271.3 kB / 0.6209 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004348, allocations: 4 kB / 0.6209 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004349, allocations: 0 / 0.6209 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.004353, allocations: 0 / 0.6209 GB, free: 10.78 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003176/0.004671, allocations: 319.7 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.00471, allocations: 9.469 kB / 0.6213 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.042e-05/0.004741, allocations: 38.75 kB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.004769, allocations: 12.88 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.528e-05/0.004854, allocations: 109.7 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.004865, allocations: 4.375 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.004874, allocations: 384 / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.005015, allocations: 111.8 kB / 0.6215 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.005022, allocations: 4.188 kB / 0.6215 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.005032, allocations: 8.109 kB / 0.6215 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.005035, allocations: 3.938 kB / 0.6215 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.428e-05/0.00509, allocations: 69.67 kB / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000107/0.005197, allocations: 128.8 kB / 0.6217 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.195e-05/0.005269, allocations: 80.25 kB / 0.6218 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.005319, allocations: 74.55 kB / 0.6219 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-06/0.005326, allocations: 0 / 0.6219 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.005346, allocations: 34.5 kB / 0.6219 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 5.11e-07/0.005346, allocations: 7.938 kB / 0.6219 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.00027/0.005616, allocations: 254.6 kB / 0.6222 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.005654, allocations: 85.09 kB / 0.6222 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.046e-05/0.005714, allocations: 110.1 kB / 0.6223 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.005725, allocations: 29.7 kB / 0.6224 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.77e-05/0.005753, allocations: 84.14 kB / 0.6225 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.005786, allocations: 23.78 kB / 0.6225 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.00582, allocations: 21.72 kB / 0.6225 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.422e-05/0.005894, allocations: 322.8 kB / 0.6228 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.773e-05/0.005942, allocations: 61.67 kB / 0.6229 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.506e-05/0.005987, allocations: 73.95 kB / 0.6229 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.006089, allocations: 144.3 kB / 0.6231 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006091, allocations: 0 / 0.6231 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001323/0.006223, allocations: 193.1 kB / 0.6233 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.006252, allocations: 40.03 kB / 0.6233 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.006256, allocations: 0 / 0.6233 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.006268, allocations: 3.938 kB / 0.6233 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.00627, allocations: 0 / 0.6233 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.006274, allocations: 0 / 0.6233 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.252e-05/0.006367, allocations: 11.98 kB / 0.6233 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.006383, allocations: 4 kB / 0.6233 GB, free: 8.062 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.074e-05/0.006454, allocations: 152.6 kB / 0.6235 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.904e-06/0.006462, allocations: 7.953 kB / 0.6235 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.221e-05/0.006474, allocations: 8.438 kB / 0.6235 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.006477, allocations: 3.938 kB / 0.6235 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.00648, allocations: 3.938 kB / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.006483, allocations: 0 / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.694e-05/0.00655, allocations: 132.7 kB / 0.6236 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.006551, allocations: 0 / 0.6236 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.232e-06/0.006552, allocations: 7.938 kB / 0.6236 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.92e-07/0.006553, allocations: 0 / 0.6236 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.006561, allocations: 8 kB / 0.6236 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.006563, allocations: 7.938 kB / 0.6236 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006564, allocations: 0 / 0.6236 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.00673, allocations: 228.4 kB / 0.6238 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-06/0.006736, allocations: 0 / 0.6238 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.006748, allocations: 4 kB / 0.6238 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.284e-05/0.006771, allocations: 11.94 kB / 0.6239 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.691e-05/0.006788, allocations: 7.984 kB / 0.6239 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.006795, allocations: 4 kB / 0.6239 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.246e-05/0.006828, allocations: 91.27 kB / 0.624 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006828, allocations: 0 / 0.624 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002243/0.007052, allocations: 79.84 kB / 0.624 GB, free: 7.227 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: 0 () * Number of discrete states: 0 () * 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.000499/0.007551, allocations: 0.8381 MB / 0.6249 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.007794, allocations: 222.7 kB / 0.6251 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.007796, allocations: 0 / 0.6251 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.845e-05/0.007875, allocations: 145 kB / 0.6252 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001123/0.007987, allocations: 15.88 kB / 0.6252 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.008325, allocations: 248.1 kB / 0.6255 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.32e-05/0.008368, allocations: 75.33 kB / 0.6255 GB, free: 5.547 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.649e-06/0.008373, allocations: 4.156 kB / 0.6255 GB, free: 5.543 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.008396, allocations: 20.5 kB / 0.6256 GB, free: 5.52 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.008397, allocations: 0 / 0.6256 GB, free: 5.52 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.02438, allocations: 3.783 MB / 0.6292 GB, free: 1.898 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.904/6.928, allocations: 10.42 kB / 0.6293 GB, free: 1.891 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.656458743847907] Failed to read output from testmodel.py, exit status != 0: 7.012251861393452 7.025614767 7.019057541 Calling exit ...