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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007866/0.0007866, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008166/0.0008166, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.3 MB / 240 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7267/0.7267, allocations: 132.3 MB / 423.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003396, allocations: 8.75 kB / 0.5035 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4088, allocations: 81.57 MB / 0.5832 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.000583/0.4094, allocations: 341.4 kB / 0.5835 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.4107, allocations: 1.226 MB / 0.5847 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.76e-05/0.4107, allocations: 0 / 0.5847 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.997e-06/0.4107, allocations: 0 / 0.5847 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.909e-05/0.4107, allocations: 0 / 0.5847 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.411, allocations: 62.22 kB / 0.5847 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.828e-05/0.4111, allocations: 17.89 kB / 0.5848 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.36e-05/0.4111, allocations: 5.312 kB / 0.5848 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.277e-05/0.4111, allocations: 11.73 kB / 0.5848 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.728e-05/0.4112, allocations: 11.86 kB / 0.5848 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.4112, allocations: 2.219 kB / 0.5848 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.4114, allocations: 100.4 kB / 0.5849 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.4114, allocations: 8.734 kB / 0.5849 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.615e-05/0.4114, allocations: 27.08 kB / 0.5849 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.453e-05/0.4115, allocations: 42.7 kB / 0.585 GB, free: 2.633 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.4116, allocations: 0.7031 kB / 0.585 GB, free: 2.633 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4116, allocations: 0.7188 kB / 0.585 GB, free: 2.633 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.976e-06/0.4116, allocations: 4 kB / 0.585 GB, free: 2.629 MB / 430.1 MB 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.0002839/0.4119, allocations: 345.8 kB / 0.5853 GB, free: 2.266 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.4119, allocations: 8.719 kB / 0.5853 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.806e-05/0.4119, allocations: 36.44 kB / 0.5853 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.291e-05/0.412, allocations: 6.625 kB / 0.5853 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.105e-05/0.412, allocations: 169.3 kB / 0.5855 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.412, allocations: 2.094 kB / 0.5855 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.4121, allocations: 2.781 kB / 0.5855 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.4122, allocations: 59.5 kB / 0.5856 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4122, allocations: 1.562 kB / 0.5856 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.4122, allocations: 0 / 0.5856 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.4122, allocations: 1.031 kB / 0.5856 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.069e-05/0.4123, allocations: 23.22 kB / 0.5856 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.4124, allocations: 174.1 kB / 0.5858 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.4125, allocations: 60.22 kB / 0.5858 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.87e-05/0.4126, allocations: 30.39 kB / 0.5858 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003039/0.4129, allocations: 0.5544 MB / 0.5864 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.4129, allocations: 36.59 kB / 0.5864 GB, free: 1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.4129, allocations: 0 / 0.5864 GB, free: 1 MB / 430.1 MB 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.01713/0.43, allocations: 4.214 MB / 0.5905 GB, free: 15.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.4301, allocations: 55.09 kB / 0.5906 GB, free: 15.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.172e-05/0.4302, allocations: 91.31 kB / 0.5907 GB, free: 15.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.473e-05/0.4303, allocations: 30.73 kB / 0.5907 GB, free: 15.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.492e-05/0.4303, allocations: 81.58 kB / 0.5908 GB, free: 14.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.4304, allocations: 61.61 kB / 0.5908 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.4305, allocations: 1.562 kB / 0.5908 GB, free: 14.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.4306, allocations: 322.7 kB / 0.5911 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005464/0.4311, allocations: 307.5 kB / 0.5914 GB, free: 14.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006136/0.4318, allocations: 313.5 kB / 0.5917 GB, free: 14.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007882/0.4326, allocations: 376.4 kB / 0.5921 GB, free: 14.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.4326, allocations: 3.938 kB / 0.5921 GB, free: 14.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001561/0.4341, allocations: 0.7887 MB / 0.5929 GB, free: 13.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.4342, allocations: 6.5 kB / 0.5929 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.4342, allocations: 0 / 0.5929 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.4342, allocations: 5.328 kB / 0.5929 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007194/0.4349, allocations: 98.58 kB / 0.593 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.4349, allocations: 1.25 kB / 0.593 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.4353, allocations: 6.969 kB / 0.593 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.077e-05/0.4354, allocations: 36.67 kB / 0.593 GB, free: 13.82 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.4356, allocations: 118.9 kB / 0.5931 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.4357, allocations: 5.109 kB / 0.5931 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003565/0.4392, allocations: 1.389 MB / 0.5945 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.4393, allocations: 12.03 kB / 0.5945 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.4393, allocations: 7.031 kB / 0.5945 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.4393, allocations: 1.875 kB / 0.5945 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003476/0.4428, allocations: 1.785 MB / 0.5963 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.4428, allocations: 0 / 0.5963 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007067/0.4435, allocations: 110.4 kB / 0.5964 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.4435, allocations: 6.781 kB / 0.5964 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.1e-05/0.4436, allocations: 27.03 kB / 0.5964 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.4436, allocations: 1.281 kB / 0.5964 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4436, allocations: 1.406 kB / 0.5964 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/0.4461, allocations: 1.46 MB / 0.5978 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/0.4461, allocations: 98.97 kB / 0.5979 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.4463, allocations: 10.23 kB / 0.5979 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004167/0.4467, allocations: 18.25 kB / 0.5979 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.4468, allocations: 43.98 kB / 0.598 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.159e-05/0.4469, allocations: 31.44 kB / 0.598 GB, free: 11.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.603e-05/0.4469, allocations: 76.34 kB / 0.5981 GB, free: 11.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4469, allocations: 1.219 kB / 0.5981 GB, free: 11.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006703/0.4476, allocations: 173.1 kB / 0.5983 GB, free: 10.99 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003214/0.4508, allocations: 2.111 MB / 0.6003 GB, free: 9.664 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.4522, allocations: 0.722 MB / 0.601 GB, free: 9.375 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4522, allocations: 0 / 0.601 GB, free: 9.375 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006752/0.4529, allocations: 452.4 kB / 0.6015 GB, free: 9.176 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.4532, allocations: 18.34 kB / 0.6015 GB, free: 9.164 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005081/0.4583, allocations: 2.145 MB / 0.6036 GB, free: 8.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.4586, allocations: 0.7161 MB / 0.6043 GB, free: 7.375 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001431/0.46, allocations: 298.1 kB / 0.6046 GB, free: 7.223 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005581/0.4606, allocations: 124.3 kB / 0.6047 GB, free: 7.184 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4606, allocations: 0 / 0.6047 GB, free: 7.184 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.4839, allocations: 11.62 MB / 0.616 GB, free: 14.41 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/0.4841, allocations: 208.7 kB / 0.6162 GB, free: 14.17 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.202, allocations: 3.938 kB / 0.6162 GB, free: 14.16 MB / 462.1 MB (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/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: