Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008444/0.0008444, 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.001002/0.001002, 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.918/0.918, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7198/0.7198, allocations: 154.6 MB / 413.8 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.176e-05/1.321e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0009888/0.001002, allocations: 0.6263 MB / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.002185, allocations: 1.311 MB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.369e-05/0.002209, allocations: 0 / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.002225, allocations: 3.938 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 1.869e-05/0.002244, allocations: 0 / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.002586, allocations: 79.66 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.009e-05/0.002636, allocations: 23.92 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.685e-05/0.002673, allocations: 3.984 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.115e-05/0.002704, allocations: 11.98 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.825e-05/0.002763, allocations: 11.98 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.002775, allocations: 8 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.002984, allocations: 119.7 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.002995, allocations: 3.984 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.718e-05/0.003013, allocations: 7.984 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.003141, allocations: 83.81 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.003143, allocations: 7.938 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.92e-07/0.003144, allocations: 0 / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.003147, allocations: 0 / 0.6204 GB, free: 11.3 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003496/0.003497, allocations: 278.1 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.003532, allocations: 8.031 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.8e-05/0.00356, allocations: 42.75 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.003584, allocations: 4.891 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.003779, allocations: 105.8 kB / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.003788, allocations: 384 / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.003808, allocations: 8.375 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.003909, allocations: 75.94 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.003918, allocations: 4.125 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.003927, allocations: 8.125 kB / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.003931, allocations: 0 / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.054e-05/0.003982, allocations: 23.98 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001212/0.004103, allocations: 136.7 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.917e-05/0.004192, allocations: 54.56 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.004221, allocations: 24.84 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/0.004391, allocations: 35.97 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.004411, allocations: 42.5 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.004412, allocations: 0 / 0.6212 GB, free: 10.33 MB / 0.5886 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.009874/0.01429, allocations: 4.168 MB / 0.6253 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.01431, allocations: 55.34 kB / 0.6253 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.398e-05/0.01435, allocations: 97.86 kB / 0.6254 GB, free: 5.902 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.105e-05/0.01441, allocations: 25.7 kB / 0.6255 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.622e-05/0.01443, allocations: 84 kB / 0.6255 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.757e-05/0.01451, allocations: 63.47 kB / 0.6256 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.01465, allocations: 93.8 kB / 0.6257 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.764e-05/0.01472, allocations: 314.8 kB / 0.626 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.01506, allocations: 315.9 kB / 0.6263 GB, free: 5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.01539, allocations: 307.9 kB / 0.6266 GB, free: 4.699 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009591/0.01635, allocations: 0.7802 MB / 0.6273 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.01635, allocations: 0 / 0.6273 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001111/0.01747, allocations: 0.802 MB / 0.6281 GB, free: 3.109 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.01748, allocations: 4 kB / 0.6281 GB, free: 3.105 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.01749, allocations: 0 / 0.6281 GB, free: 3.105 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.0175, allocations: 0 / 0.6281 GB, free: 3.105 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.01786, allocations: 91.94 kB / 0.6282 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.01786, allocations: 8 kB / 0.6282 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.01805, allocations: 4 kB / 0.6282 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-05/0.0181, allocations: 35.98 kB / 0.6283 GB, free: 2.969 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 (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.0001222/0.01822, allocations: 122.7 kB / 0.6284 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.01827, allocations: 11.94 kB / 0.6284 GB, free: 2.828 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.02002, allocations: 1.396 MB / 0.6298 GB, free: 1.426 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.02002, allocations: 4 kB / 0.6298 GB, free: 1.422 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.02002, allocations: 0 / 0.6298 GB, free: 1.422 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.02003, allocations: 0 / 0.6298 GB, free: 1.422 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.02189, allocations: 1.705 MB / 0.6314 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.02189, allocations: 0 / 0.6314 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003439/0.02223, allocations: 107.9 kB / 0.6315 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.02224, allocations: 4 kB / 0.6315 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.139e-05/0.02228, allocations: 27.98 kB / 0.6316 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.02228, allocations: 8.031 kB / 0.6316 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.02228, allocations: 7.875 kB / 0.6316 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.02381, allocations: 1.459 MB / 0.633 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.02383, allocations: 23.86 kB / 0.633 GB, free: 14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.02388, allocations: 11.94 kB / 0.633 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.02408, allocations: 12 kB / 0.633 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.013e-05/0.02417, allocations: 47.89 kB / 0.6331 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.02421, allocations: 28 kB / 0.6331 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.463e-05/0.02424, allocations: 79.27 kB / 0.6332 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.02424, allocations: 160 / 0.6332 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000407/0.02464, allocations: 187.7 kB / 0.6334 GB, free: 13.64 MB / 0.6042 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.00212/0.02676, allocations: 2.142 MB / 0.6355 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008203/0.02758, allocations: 0.7211 MB / 0.6362 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.02759, allocations: 0 / 0.6362 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000394/0.02798, allocations: 403.7 kB / 0.6366 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.02821, allocations: 19.94 kB / 0.6366 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004299/0.03251, allocations: 3.711 MB / 0.6402 GB, free: 6.535 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.442e-05/0.03258, allocations: 103.8 kB / 0.6403 GB, free: 6.414 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005891/0.03317, allocations: 297.5 kB / 0.6406 GB, free: 6.125 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003732/0.03354, allocations: 116.5 kB / 0.6407 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of SimCode: time 7.02e-07/0.03354, allocations: 0 / 0.6407 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.05852, allocations: 14.21 MB / 0.6546 GB, free: 8.066 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.857/6.916, allocations: 11.91 kB / 0.6546 GB, free: 8.055 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.592906592413783] Failed to read output from testmodel.py, exit status != 0: 6.9991493271663785 7.009253369 7.004107835 Calling exit ...