Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.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.0008047/0.0008047, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.00137/0.00137, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9012/0.9012, 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.7054/0.7054, allocations: 154.5 MB / 413.7 MB, free: 0.832 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.QuinticHermite,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.226e-06/3.226e-06, allocations: 3.984 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.262e-05, allocations: 7.812 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001249/0.001271, allocations: 0.6316 MB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003238/0.001595, allocations: 179.2 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.001625, allocations: 4 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.001642, allocations: 3.938 kB / 0.6189 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.001811, allocations: 3.984 kB / 0.6189 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.001985, allocations: 75.69 kB / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.164e-05/0.002047, allocations: 27.91 kB / 0.619 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.002091, allocations: 8 kB / 0.619 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.668e-05/0.002148, allocations: 19.92 kB / 0.619 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.931e-05/0.002207, allocations: 11.97 kB / 0.619 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.002224, allocations: 4 kB / 0.6191 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.418e-05/0.002318, allocations: 43.89 kB / 0.6191 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.002334, allocations: 19.91 kB / 0.6191 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.933e-05/0.002353, allocations: 11.94 kB / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.002485, allocations: 91.72 kB / 0.6192 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.002487, allocations: 3.984 kB / 0.6192 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.402e-06/0.002489, allocations: 0 / 0.6192 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.002493, allocations: 0 / 0.6192 GB, free: 12.52 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004185/0.002911, allocations: 290.1 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.002953, allocations: 13.47 kB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.866e-05/0.002982, allocations: 34.75 kB / 0.6195 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003182/0.0033, allocations: 60.8 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.838e-05/0.003399, allocations: 121.7 kB / 0.6197 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.003407, allocations: 384 / 0.6197 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.003431, allocations: 8.328 kB / 0.6197 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.003576, allocations: 78.12 kB / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.003586, allocations: 192 / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.0036, allocations: 4.375 kB / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.003605, allocations: 4.125 kB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.003749, allocations: 59.95 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002222/0.003971, allocations: 216.1 kB / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.00419, allocations: 94.47 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.997e-05/0.00426, allocations: 36.92 kB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.004274, allocations: 0 / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.004294, allocations: 42.5 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 6.51e-07/0.004294, allocations: 0 / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0121/0.0164, allocations: 1.515 MB / 0.6217 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.01643, allocations: 55.34 kB / 0.6218 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/0.01651, allocations: 117.8 kB / 0.6219 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.757e-05/0.01656, allocations: 29.7 kB / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.0166, allocations: 92.08 kB / 0.622 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.01665, allocations: 19.8 kB / 0.622 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.01678, allocations: 25.7 kB / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.931e-05/0.01686, allocations: 326.8 kB / 0.6223 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/0.01723, allocations: 151.9 kB / 0.6225 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.01758, allocations: 159.9 kB / 0.6226 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007326/0.01831, allocations: 316.8 kB / 0.6229 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01832, allocations: 3.938 kB / 0.623 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008593/0.01918, allocations: 362 kB / 0.6233 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.01919, allocations: 4 kB / 0.6233 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.0192, allocations: 0 / 0.6233 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.01921, allocations: 0 / 0.6233 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007183/0.01993, allocations: 67.92 kB / 0.6234 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.01994, allocations: 4 kB / 0.6234 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005865/0.02053, allocations: 52.03 kB / 0.6234 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.02056, allocations: 7.938 kB / 0.6234 GB, free: 8.004 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 (9): * Single equations (assignments): 9 * 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 0.0001351/0.0207, allocations: 114.8 kB / 0.6235 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.02075, allocations: 12.36 kB / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.286e-05/0.02084, allocations: 20.44 kB / 0.6236 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.02085, allocations: 4 kB / 0.6236 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.02085, allocations: 7.938 kB / 0.6236 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.02086, allocations: 3.984 kB / 0.6236 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002948/0.02381, allocations: 0.759 MB / 0.6243 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.02381, allocations: 0 / 0.6243 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005073/0.02432, allocations: 55.94 kB / 0.6244 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.02432, allocations: 0 / 0.6244 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.02435, allocations: 8 kB / 0.6244 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.02435, allocations: 0 / 0.6244 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.02436, allocations: 0 / 0.6244 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007025/0.02506, allocations: 345.1 kB / 0.6247 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.02507, allocations: 11.94 kB / 0.6247 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.02512, allocations: 0 / 0.6247 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/0.02556, allocations: 47.95 kB / 0.6248 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.982e-05/0.02558, allocations: 7.922 kB / 0.6248 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.02561, allocations: 4 kB / 0.6248 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.796e-05/0.02565, allocations: 95.27 kB / 0.6249 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.02565, allocations: 0 / 0.6249 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002729/0.02593, allocations: 96 kB / 0.625 GB, free: 6.336 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0009665/0.02689, allocations: 0.8742 MB / 0.6258 GB, free: 5.43 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007415/0.02764, allocations: 271.9 kB / 0.6261 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.02764, allocations: 0 / 0.6261 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.02794, allocations: 103.9 kB / 0.6262 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.02816, allocations: 9.969 kB / 0.6262 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004056/0.03222, allocations: 2.809 MB / 0.6289 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.352e-05/0.03227, allocations: 71.33 kB / 0.629 GB, free: 2.062 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002747/0.03255, allocations: 63.94 kB / 0.6291 GB, free: 2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/0.0329, allocations: 20.48 kB / 0.6291 GB, free: 1.98 MB / 0.5886 GB Notification: Performance of SimCode: time 7.12e-07/0.03291, allocations: 0 / 0.6291 GB, free: 1.98 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.05543, allocations: 11.96 MB / 0.6408 GB, free: 6.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.342/7.397, allocations: 16.75 kB / 0.6408 GB, free: 6.078 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.060161313973367] Failed to read output from testmodel.py, exit status != 0: 7.480776064097881 7.489970072 7.485784574 Calling exit ...