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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.005999/0.005999, allocations: 169.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8674/0.8674, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.2 MB / 406.8 MB, free: 3.246 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009091/0.000909, allocations: 98.25 kB / 489.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.0003211, allocations: 15.98 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.366, allocations: 82.3 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1479/0.514, allocations: 111.9 MB / 0.7588 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.5142, allocations: 79.95 kB / 0.7589 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.007585/0.5218, allocations: 2.402 MB / 0.7612 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5219, allocations: 0 / 0.7612 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.5219, allocations: 0 / 0.7612 GB, free: 1.668 MB / 0.5261 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.0004341/0.5223, allocations: 363.2 kB / 0.7616 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.5224, allocations: 15.91 kB / 0.7616 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.577e-05/0.5225, allocations: 34.56 kB / 0.7616 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.5225, allocations: 4 kB / 0.7616 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.5227, allocations: 171 kB / 0.7618 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.5227, allocations: 8 kB / 0.7618 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.5227, allocations: 0 / 0.7618 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.5229, allocations: 53.62 kB / 0.7618 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.5229, allocations: 0 / 0.7618 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.5229, allocations: 4 kB / 0.7618 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.5229, allocations: 0 / 0.7618 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.523, allocations: 23.97 kB / 0.7619 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.5232, allocations: 173.5 kB / 0.762 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.5234, allocations: 54.56 kB / 0.7621 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005445/0.5239, allocations: 0.5547 MB / 0.7626 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.524, allocations: 38.48 kB / 0.7627 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.524, allocations: 4 kB / 0.7627 GB, free: 15.89 MB / 0.5417 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.01992/0.5439, allocations: 4.193 MB / 0.7668 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.544, allocations: 51.41 kB / 0.7668 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.033e-05/0.5441, allocations: 96.89 kB / 0.7669 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.953e-05/0.5442, allocations: 29.7 kB / 0.7669 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.5442, allocations: 84.12 kB / 0.767 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.5443, allocations: 51.27 kB / 0.7671 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/0.5444, allocations: 128 / 0.7671 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5445, allocations: 322.8 kB / 0.7674 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/0.5451, allocations: 307.9 kB / 0.7677 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00051/0.5456, allocations: 312.9 kB / 0.768 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007413/0.5463, allocations: 379.9 kB / 0.7683 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.5463, allocations: 0 / 0.7683 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001489/0.5478, allocations: 0.7838 MB / 0.7691 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.5479, allocations: 4 kB / 0.7691 GB, free: 9.117 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.5479, allocations: 3.938 kB / 0.7691 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.5479, allocations: 11.92 kB / 0.7691 GB, free: 9.102 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008073/0.5487, allocations: 99.94 kB / 0.7692 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5487, allocations: 0 / 0.7692 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004623/0.5492, allocations: 4 kB / 0.7692 GB, free: 9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.466e-05/0.5493, allocations: 43.92 kB / 0.7692 GB, free: 8.957 MB / 0.5417 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.0002188/0.5495, allocations: 121.7 kB / 0.7694 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.442e-05/0.5496, allocations: 7.906 kB / 0.7694 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003405/0.553, allocations: 1.381 MB / 0.7707 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.5531, allocations: 8 kB / 0.7707 GB, free: 7.422 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.5531, allocations: 0 / 0.7707 GB, free: 7.422 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.5531, allocations: 7.984 kB / 0.7707 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00301/0.5561, allocations: 1.794 MB / 0.7725 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5561, allocations: 4 kB / 0.7725 GB, free: 5.551 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007597/0.5569, allocations: 107.9 kB / 0.7726 GB, free: 5.445 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.5569, allocations: 4.031 kB / 0.7726 GB, free: 5.441 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.987e-05/0.557, allocations: 31.95 kB / 0.7726 GB, free: 5.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.557, allocations: 0 / 0.7726 GB, free: 5.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.557, allocations: 7.938 kB / 0.7726 GB, free: 5.402 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.5594, allocations: 1.455 MB / 0.774 GB, free: 3.922 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.341e-05/0.5595, allocations: 100.8 kB / 0.7741 GB, free: 3.805 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.287e-05/0.5596, allocations: 8.062 kB / 0.7742 GB, free: 3.797 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004921/0.5601, allocations: 19.98 kB / 0.7742 GB, free: 3.777 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.5602, allocations: 35.97 kB / 0.7742 GB, free: 3.742 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.631e-05/0.5603, allocations: 36 kB / 0.7742 GB, free: 3.707 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.629e-05/0.5603, allocations: 75.28 kB / 0.7743 GB, free: 3.633 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5603, allocations: 0 / 0.7743 GB, free: 3.633 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006996/0.5611, allocations: 211.7 kB / 0.7745 GB, free: 3.426 MB / 0.5417 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.003098/0.5642, allocations: 2.24 MB / 0.7767 GB, free: 1.152 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.5654, allocations: 0.7196 MB / 0.7774 GB, free: 444 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5654, allocations: 0 / 0.7774 GB, free: 444 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006325/0.566, allocations: 451.9 kB / 0.7778 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.5662, allocations: 9.891 kB / 0.7778 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005355/0.5716, allocations: 2.169 MB / 0.78 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.5719, allocations: 0.7184 MB / 0.7807 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001437/0.5734, allocations: 301.6 kB / 0.781 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005671/0.5739, allocations: 115.4 kB / 0.7811 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of SimCode: time 3.296e-06/0.574, allocations: 0 / 0.7811 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.6014, allocations: 11.36 MB / 0.7922 GB, free: 1.473 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.6017, allocations: 192.8 kB / 0.7923 GB, free: 1.234 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.278, allocations: 0 / 0.7923 GB, free: 1.234 MB / 0.5573 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)