Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.0009341/0.0009341, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0009935/0.0009935, allocations: 218.3 kB / 22.26 MB, free: 3.695 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 1.017/1.017, allocations: 230.6 MB / 256 MB, free: 9.629 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.8249/0.8249, allocations: 203.8 MB / 0.5042 GB, free: 10.72 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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [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.00144/0.00144, allocations: 68.77 kB / 0.7183 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5211/0.5226, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001396/0.524, allocations: 0.6217 MB / 0.8185 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.5251, allocations: 1.377 MB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.5252, allocations: 0 / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.5252, allocations: 3.938 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.429e-05/0.5252, allocations: 3.938 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.5256, allocations: 80.94 kB / 0.82 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.186e-05/0.5256, allocations: 31.16 kB / 0.82 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.5257, allocations: 6.656 kB / 0.82 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.484e-05/0.5257, allocations: 12.81 kB / 0.82 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.838e-05/0.5258, allocations: 14.64 kB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.5258, allocations: 1.062 kB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002369/0.526, allocations: 115.4 kB / 0.8201 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.526, allocations: 10.45 kB / 0.8201 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.5261, allocations: 9.219 kB / 0.8201 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.5262, allocations: 73.05 kB / 0.8202 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.5262, allocations: 0 / 0.8202 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5262, allocations: 0 / 0.8202 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.5262, allocations: 0 / 0.8202 GB, free: 15.73 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003999/0.5266, allocations: 285.4 kB / 0.8205 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.5267, allocations: 11.83 kB / 0.8205 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.961e-05/0.5267, allocations: 31.41 kB / 0.8205 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.5267, allocations: 4.531 kB / 0.8205 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.024e-05/0.5268, allocations: 109.5 kB / 0.8206 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.5268, allocations: 8.359 kB / 0.8206 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.5268, allocations: 11.55 kB / 0.8207 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.5269, allocations: 65.03 kB / 0.8207 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.527, allocations: 0 / 0.8207 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.527, allocations: 0.7969 kB / 0.8207 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.527, allocations: 5.781 kB / 0.8207 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.064e-05/0.527, allocations: 22.06 kB / 0.8207 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/0.5272, allocations: 135.6 kB / 0.8209 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.5273, allocations: 56.72 kB / 0.8209 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.096e-05/0.5273, allocations: 23.42 kB / 0.821 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000218/0.5275, allocations: 43.23 kB / 0.821 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.5276, allocations: 39.62 kB / 0.821 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.5276, allocations: 0 / 0.821 GB, free: 14.94 MB / 0.6198 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.01142/0.539, allocations: 4.158 MB / 0.8251 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.539, allocations: 54.75 kB / 0.8251 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.855e-05/0.5391, allocations: 91.81 kB / 0.8252 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/0.5391, allocations: 31.17 kB / 0.8253 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.319e-05/0.5392, allocations: 84 kB / 0.8253 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.844e-05/0.5393, allocations: 67.31 kB / 0.8254 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.5394, allocations: 94.03 kB / 0.8255 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.5396, allocations: 326.9 kB / 0.8258 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004149/0.54, allocations: 307.8 kB / 0.8261 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.5404, allocations: 315.6 kB / 0.8264 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.5414, allocations: 0.7723 MB / 0.8272 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.5414, allocations: 0 / 0.8272 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001458/0.5429, allocations: 0.798 MB / 0.8279 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.5429, allocations: 6.609 kB / 0.8279 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.5429, allocations: 0 / 0.8279 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.5429, allocations: 1.094 kB / 0.8279 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.5433, allocations: 103.5 kB / 0.828 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.5434, allocations: 1.344 kB / 0.828 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.5435, allocations: 4.438 kB / 0.828 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.684e-05/0.5436, allocations: 34.08 kB / 0.8281 GB, free: 11.77 MB / 0.6198 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 (18): * Single equations (assignments): 18 * 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.0001346/0.5437, allocations: 121.6 kB / 0.8282 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/0.5438, allocations: 7.766 kB / 0.8282 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/0.5459, allocations: 1.409 MB / 0.8296 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.5459, allocations: 3.375 kB / 0.8296 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.546, allocations: 1.875 kB / 0.8296 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.546, allocations: 2.016 kB / 0.8296 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.5481, allocations: 1.781 MB / 0.8313 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5481, allocations: 4.031 kB / 0.8313 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/0.5485, allocations: 111 kB / 0.8314 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.5485, allocations: 1.094 kB / 0.8314 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.764e-05/0.5485, allocations: 31.53 kB / 0.8315 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.5485, allocations: 1.891 kB / 0.8315 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5485, allocations: 1.094 kB / 0.8315 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.5503, allocations: 1.477 MB / 0.8329 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.393e-05/0.5503, allocations: 22.33 kB / 0.8329 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.439e-05/0.5504, allocations: 10.34 kB / 0.8329 GB, free: 9.152 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.5506, allocations: 10.81 kB / 0.833 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-05/0.5507, allocations: 43.69 kB / 0.833 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.221e-05/0.5507, allocations: 36.78 kB / 0.833 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.506e-05/0.5508, allocations: 76.81 kB / 0.8331 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5508, allocations: 0 / 0.8331 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004877/0.5513, allocations: 183 kB / 0.8333 GB, free: 9.035 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (y_comp) * 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 (40): * Single equations (assignments): 40 * 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.002246/0.5535, allocations: 2.132 MB / 0.8354 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009107/0.5544, allocations: 0.7214 MB / 0.8361 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5544, allocations: 0 / 0.8361 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004414/0.5549, allocations: 405.6 kB / 0.8364 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.5551, allocations: 18.56 kB / 0.8365 GB, free: 7.238 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00502/0.5601, allocations: 3.715 MB / 0.8401 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.5603, allocations: 0.7149 MB / 0.8408 GB, free: 4.344 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000642/0.561, allocations: 293.8 kB / 0.8411 GB, free: 4.195 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/0.5614, allocations: 115.4 kB / 0.8412 GB, free: 4.168 MB / 0.6198 GB Notification: Performance of SimCode: time 4.1e-07/0.5614, allocations: 0 / 0.8412 GB, free: 4.168 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.5897, allocations: 13.47 MB / 0.8543 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.703/7.292, allocations: 2.969 kB / 0.8543 GB, free: 14.09 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.383311724057421] Failed to read output from testmodel.py, exit status != 0: 7.374661325011402 7.382635246 6.854623288 Calling exit ...