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.001533/0.001534, allocations: 176.2 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.843/0.843, allocations: 133.5 MB / 141.6 MB, free: 2.855 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.621/1.621, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.001024/0.001024, allocations: 102.1 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.577e-05/2.579e-05, allocations: 8 kB / 0.5536 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4797/0.4798, allocations: 82.3 MB / 0.6339 GB, free: 40.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1443/0.6242, allocations: 111.1 MB / 0.7425 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.6245, allocations: 79.95 kB / 0.7426 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006925/0.6314, allocations: 2.371 MB / 0.7449 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.492e-06/0.6314, allocations: 0 / 0.7449 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.6315, allocations: 0 / 0.7449 GB, free: 9.184 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.0003495/0.6318, allocations: 354.4 kB / 0.7452 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.6319, allocations: 8.031 kB / 0.7452 GB, free: 8.785 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.6319, allocations: 7.906 kB / 0.7452 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.632, allocations: 163 kB / 0.7454 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.6321, allocations: 4 kB / 0.7454 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.6321, allocations: 4 kB / 0.7454 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.816e-05/0.6322, allocations: 31.92 kB / 0.7454 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.837e-05/0.6323, allocations: 41.69 kB / 0.7455 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.6323, allocations: 4 kB / 0.7455 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.6323, allocations: 0 / 0.7455 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.6324, allocations: 0 / 0.7455 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001832/0.6325, allocations: 142.1 kB / 0.7456 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.6327, allocations: 58.52 kB / 0.7457 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.194e-05/0.6327, allocations: 28.8 kB / 0.7457 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004907/0.6332, allocations: 0.5547 MB / 0.7462 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.6333, allocations: 38.5 kB / 0.7463 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.6333, allocations: 0 / 0.7463 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of matching and sorting (n=17): time 0.0124/0.6457, allocations: 3.321 MB / 0.7495 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.6458, allocations: 59.41 kB / 0.7496 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.96e-05/0.6458, allocations: 89 kB / 0.7496 GB, free: 3.848 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.526e-05/0.6459, allocations: 25.7 kB / 0.7497 GB, free: 3.816 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.817e-05/0.6459, allocations: 80.14 kB / 0.7497 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.6461, allocations: 51.2 kB / 0.7498 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.6461, allocations: 0 / 0.7498 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.6462, allocations: 322.8 kB / 0.7501 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004156/0.6467, allocations: 304 kB / 0.7504 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004125/0.6471, allocations: 312.1 kB / 0.7507 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006631/0.6478, allocations: 372.7 kB / 0.751 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.6478, allocations: 0 / 0.751 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001291/0.6491, allocations: 0.7764 MB / 0.7518 GB, free: 1.613 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.6491, allocations: 4 kB / 0.7518 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.6491, allocations: 3.984 kB / 0.7518 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.6491, allocations: 4 kB / 0.7518 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008292/0.65, allocations: 91.94 kB / 0.7519 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.65, allocations: 0 / 0.7519 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005131/0.6505, allocations: 4 kB / 0.7519 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.68e-05/0.6506, allocations: 35.98 kB / 0.7519 GB, free: 1.473 MB / 0.5261 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 () * 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.0001821/0.6508, allocations: 110.6 kB / 0.752 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001288/0.6521, allocations: 0.7796 MB / 0.7528 GB, free: 0.5742 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.471e-05/0.6521, allocations: 4 kB / 0.7528 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003173/0.6553, allocations: 1.333 MB / 0.7541 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.6553, allocations: 4 kB / 0.7541 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.6554, allocations: 0 / 0.7541 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.6554, allocations: 7.984 kB / 0.7541 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/0.6581, allocations: 1.702 MB / 0.7558 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.6581, allocations: 4 kB / 0.7558 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007969/0.6589, allocations: 103.9 kB / 0.7559 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.6589, allocations: 3.938 kB / 0.7559 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.721e-05/0.659, allocations: 35.94 kB / 0.7559 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.659, allocations: 7.969 kB / 0.7559 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.659, allocations: 0 / 0.7559 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.6611, allocations: 1.385 MB / 0.7573 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/0.6612, allocations: 92.94 kB / 0.7574 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.86e-05/0.6613, allocations: 8 kB / 0.7574 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004994/0.6618, allocations: 4 kB / 0.7574 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/0.6619, allocations: 43.97 kB / 0.7574 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.108e-05/0.662, allocations: 35.98 kB / 0.7575 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.84e-05/0.662, allocations: 75.28 kB / 0.7575 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.662, allocations: 0 / 0.7575 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006653/0.6627, allocations: 199.7 kB / 0.7577 GB, free: 11.44 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 () * 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.002804/0.6655, allocations: 2.142 MB / 0.7598 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001061/0.6666, allocations: 0.6919 MB / 0.7605 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6666, allocations: 4 kB / 0.7605 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005447/0.6672, allocations: 427.8 kB / 0.7609 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.6674, allocations: 4 kB / 0.7609 GB, free: 8.145 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/0.6711, allocations: 0.7822 MB / 0.7617 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.6715, allocations: 0.7257 MB / 0.7624 GB, free: 6.566 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001432/0.6729, allocations: 293.3 kB / 0.7627 GB, free: 6.281 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005704/0.6735, allocations: 115.4 kB / 0.7628 GB, free: 6.168 MB / 0.5417 GB Notification: Performance of SimCode: time 8.41e-07/0.6735, allocations: 0 / 0.7628 GB, free: 6.168 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03409/0.7076, allocations: 11.2 MB / 0.7737 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/0.7079, allocations: 152.9 kB / 0.7739 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/2.309, allocations: 0 / 0.7739 GB, free: 10.8 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)