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.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.00176/0.00176, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.267/2.267, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.493/1.493, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004659, allocations: 12 kB / 0.5069 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2325, allocations: 82.31 MB / 0.5873 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001054/0.2337, allocations: 327.1 kB / 0.5876 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.2361, allocations: 1.217 MB / 0.5888 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.725e-05/0.2361, allocations: 4 kB / 0.5888 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/0.2361, allocations: 0 / 0.5888 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.345e-05/0.2362, allocations: 4 kB / 0.5888 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.2366, allocations: 51.81 kB / 0.5888 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.289e-05/0.2367, allocations: 7.984 kB / 0.5889 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.14e-05/0.2367, allocations: 0 / 0.5889 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.802e-05/0.2368, allocations: 19.92 kB / 0.5889 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.454e-05/0.2369, allocations: 15.92 kB / 0.5889 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.2369, allocations: 0 / 0.5889 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002742/0.2372, allocations: 95.77 kB / 0.589 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.2372, allocations: 4 kB / 0.589 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.799e-05/0.2373, allocations: 33.7 kB / 0.589 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.2374, allocations: 43.94 kB / 0.5891 GB, free: 1.191 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2375, allocations: 0 / 0.5891 GB, free: 1.191 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.2375, allocations: 0 / 0.5891 GB, free: 1.191 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.2375, allocations: 0 / 0.5891 GB, free: 1.191 MB / 494.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.0005741/0.2381, allocations: 339.6 kB / 0.5894 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.2381, allocations: 8.031 kB / 0.5894 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.668e-05/0.2382, allocations: 38.56 kB / 0.5894 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.2382, allocations: 4 kB / 0.5894 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.2384, allocations: 170.9 kB / 0.5896 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.2384, allocations: 4 kB / 0.5896 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.2385, allocations: 8 kB / 0.5896 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.2387, allocations: 53.64 kB / 0.5897 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.2387, allocations: 4 kB / 0.5897 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.2387, allocations: 4 kB / 0.5897 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2387, allocations: 0 / 0.5897 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.2388, allocations: 23.97 kB / 0.5897 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002407/0.2391, allocations: 177.5 kB / 0.5899 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.2393, allocations: 62.5 kB / 0.5899 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007276/0.24, allocations: 0.5505 MB / 0.5905 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.2401, allocations: 38.5 kB / 0.5905 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.004e-06/0.2401, allocations: 4 kB / 0.5905 GB, free: 15.42 MB / 0.4981 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.03065/0.2708, allocations: 4.198 MB / 0.5946 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.2709, allocations: 55.41 kB / 0.5946 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.271, allocations: 101.8 kB / 0.5947 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.2711, allocations: 29.7 kB / 0.5948 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.2712, allocations: 84.27 kB / 0.5949 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.2713, allocations: 55.11 kB / 0.5949 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.2715, allocations: 8 kB / 0.5949 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.2716, allocations: 318.8 kB / 0.5952 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008654/0.2725, allocations: 303.9 kB / 0.5955 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008563/0.2734, allocations: 307.9 kB / 0.5958 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.2747, allocations: 382.9 kB / 0.5962 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.2747, allocations: 7.938 kB / 0.5962 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002495/0.2772, allocations: 0.7864 MB / 0.5969 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.2773, allocations: 7.984 kB / 0.5969 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.2773, allocations: 4 kB / 0.597 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.2773, allocations: 0 / 0.597 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.2785, allocations: 87.95 kB / 0.597 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.2786, allocations: 7.938 kB / 0.597 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007345/0.2793, allocations: 11.95 kB / 0.5971 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.2794, allocations: 39.91 kB / 0.5971 GB, free: 8.48 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002958/0.2798, allocations: 117.8 kB / 0.5972 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.2799, allocations: 4 kB / 0.5972 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005213/0.2851, allocations: 1.388 MB / 0.5986 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.2852, allocations: 7.938 kB / 0.5986 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.2852, allocations: 0 / 0.5986 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.2852, allocations: 3.984 kB / 0.5986 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004433/0.2896, allocations: 1.81 MB / 0.6003 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.2897, allocations: 0 / 0.6003 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.2909, allocations: 111.9 kB / 0.6005 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.466e-05/0.2909, allocations: 3.953 kB / 0.6005 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/0.2911, allocations: 27.98 kB / 0.6005 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.2911, allocations: 4 kB / 0.6005 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.2911, allocations: 0 / 0.6005 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003799/0.2949, allocations: 1.462 MB / 0.6019 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.741e-05/0.295, allocations: 92.98 kB / 0.602 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.2952, allocations: 15.94 kB / 0.602 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008297/0.296, allocations: 8 kB / 0.602 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.2962, allocations: 43.97 kB / 0.6021 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/0.2964, allocations: 35.98 kB / 0.6021 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.817e-05/0.2964, allocations: 75.28 kB / 0.6022 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2964, allocations: 0 / 0.6022 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009712/0.2974, allocations: 180.1 kB / 0.6023 GB, free: 2.977 MB / 0.4981 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 (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.004943/0.3024, allocations: 2.198 MB / 0.6045 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001898/0.3043, allocations: 0.7223 MB / 0.6052 GB, free: 24 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3043, allocations: 4.062 kB / 0.6052 GB, free: 20 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.3768/0.6812, allocations: 445.4 kB / 0.6056 GB, free: 49.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.6817, allocations: 12.11 kB / 0.6056 GB, free: 49.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008326/0.69, allocations: 2.133 MB / 0.6077 GB, free: 49.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.6902, allocations: 0.7257 MB / 0.6084 GB, free: 48.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002284/0.6925, allocations: 291.8 kB / 0.6087 GB, free: 48.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008214/0.6933, allocations: 116.7 kB / 0.6088 GB, free: 48.86 MB / 0.4981 GB Notification: Performance of SimCode: time 1.533e-06/0.6934, allocations: 4 kB / 0.6088 GB, free: 48.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0484/0.7418, allocations: 11.61 MB / 0.6202 GB, free: 48.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/0.7421, allocations: 196.8 kB / 0.6204 GB, free: 47.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.051/3.794, allocations: 2.688 kB / 0.6204 GB, free: 47.97 MB / 0.4981 GB (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/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --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) Environment - environmentSimulation: