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.001615/0.001615, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7322/0.7322, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.495/1.495, allocations: 221.3 MB / 400.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008972/0.0008975, allocations: 97.34 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.67e-05/4.694e-05, allocations: 4.188 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1479, allocations: 82.31 MB / 0.6405 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5634/0.7113, allocations: 111.8 MB / 0.7497 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.7116, allocations: 79.8 kB / 0.7498 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006733/0.7184, allocations: 2.379 MB / 0.7521 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.285e-06/0.7184, allocations: 4 kB / 0.7521 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.7184, allocations: 0 / 0.7521 GB, free: 27.45 MB / 0.5105 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.0003534/0.7188, allocations: 358.6 kB / 0.7524 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.7188, allocations: 11.53 kB / 0.7525 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.7189, allocations: 34.19 kB / 0.7525 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/0.7189, allocations: 11.69 kB / 0.7525 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.719, allocations: 165.8 kB / 0.7527 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.719, allocations: 0 / 0.7527 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.7191, allocations: 11.75 kB / 0.7527 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.7192, allocations: 44 kB / 0.7527 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.7192, allocations: 6.547 kB / 0.7527 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.7192, allocations: 3.938 kB / 0.7527 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.7193, allocations: 0 / 0.7527 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.192e-05/0.7193, allocations: 19.47 kB / 0.7527 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.7195, allocations: 174.3 kB / 0.7529 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.7196, allocations: 63.27 kB / 0.753 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.648e-05/0.7197, allocations: 20.2 kB / 0.753 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004447/0.7201, allocations: 0.56 MB / 0.7535 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.7201, allocations: 34.41 kB / 0.7536 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.7201, allocations: 0 / 0.7536 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=17): time 0.01477/0.7349, allocations: 3.637 MB / 0.7571 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.735, allocations: 55.36 kB / 0.7572 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.675e-05/0.7351, allocations: 92.81 kB / 0.7573 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.392e-05/0.7352, allocations: 29.02 kB / 0.7573 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.128e-05/0.7352, allocations: 82.48 kB / 0.7574 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.582e-05/0.7353, allocations: 55.7 kB / 0.7574 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.526e-05/0.7354, allocations: 3.188 kB / 0.7574 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.7355, allocations: 316.2 kB / 0.7577 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/0.736, allocations: 299.2 kB / 0.758 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000438/0.7365, allocations: 304.1 kB / 0.7583 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006316/0.7371, allocations: 372.7 kB / 0.7587 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.7371, allocations: 0 / 0.7587 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001302/0.7384, allocations: 0.7663 MB / 0.7594 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.7385, allocations: 5.438 kB / 0.7594 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.7385, allocations: 4.469 kB / 0.7594 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.7385, allocations: 3.844 kB / 0.7594 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007827/0.7393, allocations: 89.31 kB / 0.7595 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.7393, allocations: 3.875 kB / 0.7595 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/0.7398, allocations: 14.73 kB / 0.7595 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.7399, allocations: 31.64 kB / 0.7596 GB, free: 24.28 MB / 0.5105 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.0001796/0.7401, allocations: 121.3 kB / 0.7597 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-05/0.7402, allocations: 7.875 kB / 0.7597 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003008/0.7432, allocations: 1.361 MB / 0.761 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.7432, allocations: 3.875 kB / 0.761 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.7432, allocations: 3.906 kB / 0.761 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.7432, allocations: 3 kB / 0.761 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.7457, allocations: 1.777 MB / 0.7627 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.7457, allocations: 7.922 kB / 0.7628 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007536/0.7465, allocations: 111.8 kB / 0.7629 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-06/0.7465, allocations: 3.953 kB / 0.7629 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.574e-05/0.7466, allocations: 26.72 kB / 0.7629 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.7466, allocations: 0 / 0.7629 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.7466, allocations: 0 / 0.7629 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/0.7485, allocations: 1.438 MB / 0.7643 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.7486, allocations: 100.4 kB / 0.7644 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.22e-05/0.7487, allocations: 3.562 kB / 0.7644 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005051/0.7492, allocations: 15.14 kB / 0.7644 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.7493, allocations: 41.75 kB / 0.7645 GB, free: 22.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-05/0.7494, allocations: 38.16 kB / 0.7645 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.737e-05/0.7494, allocations: 75.28 kB / 0.7646 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7494, allocations: 0 / 0.7646 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005602/0.75, allocations: 211.2 kB / 0.7648 GB, free: 22.8 MB / 0.5105 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.002621/0.7526, allocations: 2.192 MB / 0.7669 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.7537, allocations: 0.7031 MB / 0.7676 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7537, allocations: 0 / 0.7676 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005124/0.7542, allocations: 441.2 kB / 0.768 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.7544, allocations: 6.812 kB / 0.768 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003397/0.7578, allocations: 0.8416 MB / 0.7688 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.7581, allocations: 0.721 MB / 0.7695 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001335/0.7594, allocations: 296.1 kB / 0.7698 GB, free: 20.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005632/0.76, allocations: 118 kB / 0.7699 GB, free: 20.74 MB / 0.5105 GB Notification: Performance of SimCode: time 1.623e-06/0.76, allocations: 0 / 0.7699 GB, free: 20.74 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.7866, allocations: 11.47 MB / 0.7811 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/0.7869, allocations: 171.7 kB / 0.7813 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/2.398, allocations: 0 / 0.7813 GB, free: 10.96 MB / 0.5105 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)