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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 180.9 kB / 7.651 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.8901/0.8901, allocations: 133.6 MB / 141.6 MB, free: 2.891 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.658/1.658, allocations: 221.5 MB / 395.4 MB, free: 10.74 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.0009189/0.0009189, allocations: 95.66 kB / 478.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.175e-05/4.17e-05, allocations: 4 kB / 0.5536 GB, free: 8.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5301/0.5302, allocations: 82.31 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.6794, allocations: 111.1 MB / 0.7425 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.6796, allocations: 79.95 kB / 0.7426 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.007035/0.6867, allocations: 2.375 MB / 0.7449 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6867, allocations: 3.938 kB / 0.7449 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.6867, allocations: 0 / 0.7449 GB, free: 9.043 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.0003232/0.687, allocations: 354.4 kB / 0.7452 GB, free: 8.652 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.6871, allocations: 8.031 kB / 0.7452 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.6871, allocations: 7.906 kB / 0.7452 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.6873, allocations: 163 kB / 0.7454 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.6873, allocations: 4 kB / 0.7454 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.6873, allocations: 4 kB / 0.7454 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.03e-05/0.6874, allocations: 23.98 kB / 0.7454 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.51e-05/0.6875, allocations: 45.62 kB / 0.7455 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.6875, allocations: 0 / 0.7455 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.6875, allocations: 0 / 0.7455 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.6875, allocations: 4 kB / 0.7455 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.6877, allocations: 146.1 kB / 0.7456 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.404e-05/0.6878, allocations: 58.59 kB / 0.7457 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.817e-05/0.6878, allocations: 28.95 kB / 0.7457 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004322/0.6883, allocations: 0.5583 MB / 0.7462 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.6883, allocations: 30.56 kB / 0.7463 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.6883, allocations: 0 / 0.7463 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of matching and sorting (n=17): time 0.01267/0.701, allocations: 3.324 MB / 0.7495 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.7011, allocations: 55.41 kB / 0.7496 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.993e-05/0.7012, allocations: 85 kB / 0.7496 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-05/0.7012, allocations: 25.7 kB / 0.7497 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.721e-05/0.7013, allocations: 80.14 kB / 0.7497 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.7014, allocations: 55.2 kB / 0.7498 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.7015, allocations: 0 / 0.7498 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.7016, allocations: 322.9 kB / 0.7501 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/0.702, allocations: 308 kB / 0.7504 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/0.7024, allocations: 304.9 kB / 0.7507 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006539/0.7031, allocations: 376.8 kB / 0.751 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.7031, allocations: 0 / 0.751 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001352/0.7045, allocations: 0.7677 MB / 0.7518 GB, free: 1.484 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.7045, allocations: 4 kB / 0.7518 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.7045, allocations: 7.922 kB / 0.7518 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.7045, allocations: 4 kB / 0.7518 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008298/0.7054, allocations: 95.94 kB / 0.7519 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.7054, allocations: 0 / 0.7519 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000519/0.7059, allocations: 8 kB / 0.7519 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.927e-05/0.706, allocations: 31.98 kB / 0.7519 GB, free: 1.336 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.0001867/0.7062, allocations: 108.9 kB / 0.752 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001344/0.7076, allocations: 0.7755 MB / 0.7528 GB, free: 452 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.506e-05/0.7076, allocations: 4 kB / 0.7528 GB, free: 448 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003225/0.7109, allocations: 1.333 MB / 0.7541 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.7109, allocations: 8 kB / 0.7541 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7109, allocations: 0 / 0.7541 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.7109, allocations: 3.984 kB / 0.7541 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/0.7135, allocations: 1.698 MB / 0.7558 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.7135, allocations: 0 / 0.7558 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008055/0.7143, allocations: 115.8 kB / 0.7559 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.7143, allocations: 7.969 kB / 0.7559 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.527e-05/0.7144, allocations: 31.94 kB / 0.7559 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.7144, allocations: 0 / 0.7559 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7144, allocations: 0 / 0.7559 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.7165, allocations: 1.385 MB / 0.7573 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.7166, allocations: 92.94 kB / 0.7574 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.073e-05/0.7167, allocations: 4.062 kB / 0.7574 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005053/0.7172, allocations: 8 kB / 0.7574 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.7173, allocations: 47.89 kB / 0.7574 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.77e-05/0.7174, allocations: 32 kB / 0.7575 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.502e-05/0.7174, allocations: 75.28 kB / 0.7575 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7174, allocations: 0 / 0.7575 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006309/0.7181, allocations: 199.7 kB / 0.7577 GB, free: 11.31 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.003005/0.7211, allocations: 2.146 MB / 0.7598 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.7223, allocations: 0.6928 MB / 0.7605 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.7223, allocations: 0 / 0.7605 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006343/0.7229, allocations: 427.8 kB / 0.7609 GB, free: 8.02 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.7232, allocations: 10.23 kB / 0.7609 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.7267, allocations: 0.7821 MB / 0.7617 GB, free: 7.188 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.7271, allocations: 0.7218 MB / 0.7624 GB, free: 6.438 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001451/0.7285, allocations: 297.3 kB / 0.7627 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005606/0.7291, allocations: 115.4 kB / 0.7628 GB, free: 6.035 MB / 0.5417 GB Notification: Performance of SimCode: time 1.112e-06/0.7291, allocations: 0 / 0.7628 GB, free: 6.035 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/0.7603, allocations: 11.2 MB / 0.7737 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/0.7605, allocations: 156.1 kB / 0.7739 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/2.519, allocations: 0 / 0.7739 GB, free: 10.66 MB / 0.5573 GB (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)