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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 106.7 kB / 17.54 MB, free: 4.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 185.9 kB / 20.71 MB, free: 1.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9763/0.9763, allocations: 175.7 MB / 480.1 MB, free: 2.797 MB / 366.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 69.61 kB / 0.6678 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1522, allocations: 94.53 MB / 0.7601 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001581/0.1538, allocations: 0.6242 MB / 0.7607 GB, free: 164 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1554, allocations: 1.294 MB / 0.762 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.1554, allocations: 4 kB / 0.762 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.1554, allocations: 0 / 0.762 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 1.58e-05/0.1554, allocations: 0 / 0.762 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.1558, allocations: 79.72 kB / 0.7621 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.713e-05/0.1558, allocations: 23.92 kB / 0.7621 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.783e-05/0.1559, allocations: 3.938 kB / 0.7621 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.674e-05/0.1559, allocations: 23.84 kB / 0.7621 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.212e-05/0.156, allocations: 15.98 kB / 0.7621 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.156, allocations: 0 / 0.7621 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.1562, allocations: 103.9 kB / 0.7622 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.1562, allocations: 15.92 kB / 0.7623 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.966e-05/0.1562, allocations: 3.938 kB / 0.7623 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.1564, allocations: 71.78 kB / 0.7623 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1564, allocations: 0 / 0.7623 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1564, allocations: 0 / 0.7623 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.1564, allocations: 0 / 0.7623 GB, free: 14.51 MB / 0.5762 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.0004463/0.1568, allocations: 355.3 kB / 0.7627 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1569, allocations: 8.031 kB / 0.7627 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.1569, allocations: 42.73 kB / 0.7627 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.456e-05/0.1569, allocations: 4.938 kB / 0.7627 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.1571, allocations: 164.3 kB / 0.7629 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1571, allocations: 384 / 0.7629 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.1571, allocations: 8.375 kB / 0.7629 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.1572, allocations: 53.8 kB / 0.7629 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1572, allocations: 0 / 0.7629 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1572, allocations: 4 kB / 0.7629 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1572, allocations: 4 kB / 0.7629 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.608e-05/0.1573, allocations: 19.98 kB / 0.763 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.1575, allocations: 169.6 kB / 0.7631 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.1576, allocations: 54.5 kB / 0.7632 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.285e-05/0.1576, allocations: 28.84 kB / 0.7632 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005258/0.1582, allocations: 0.5583 MB / 0.7638 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.1582, allocations: 38.5 kB / 0.7638 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.1582, allocations: 0 / 0.7638 GB, free: 12.72 MB / 0.5762 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.01895/0.1771, allocations: 4.383 MB / 0.7681 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.1772, allocations: 63.39 kB / 0.7681 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.062e-05/0.1772, allocations: 89.86 kB / 0.7682 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.448e-05/0.1773, allocations: 33.7 kB / 0.7682 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.1774, allocations: 80.14 kB / 0.7683 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.1775, allocations: 55.48 kB / 0.7684 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002426/0.1777, allocations: 89.67 kB / 0.7685 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1778, allocations: 322.8 kB / 0.7688 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005285/0.1784, allocations: 312 kB / 0.7691 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005301/0.1789, allocations: 315.9 kB / 0.7694 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.1804, allocations: 0.7719 MB / 0.7701 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1804, allocations: 0 / 0.7701 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001608/0.182, allocations: 0.7997 MB / 0.7709 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.182, allocations: 4 kB / 0.7709 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1821, allocations: 0 / 0.7709 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1821, allocations: 4 kB / 0.7709 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007828/0.1828, allocations: 91.89 kB / 0.771 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1829, allocations: 0 / 0.771 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005029/0.1834, allocations: 12 kB / 0.771 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.573e-05/0.1834, allocations: 35.97 kB / 0.771 GB, free: 5.078 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001904/0.1836, allocations: 121.8 kB / 0.7712 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.26e-05/0.1837, allocations: 7.953 kB / 0.7712 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003058/0.1868, allocations: 1.399 MB / 0.7725 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.1868, allocations: 7.984 kB / 0.7725 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1868, allocations: 0 / 0.7725 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1868, allocations: 3.984 kB / 0.7725 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/0.1896, allocations: 1.818 MB / 0.7743 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1896, allocations: 0 / 0.7743 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007695/0.1904, allocations: 111.9 kB / 0.7744 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1904, allocations: 0 / 0.7744 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.157e-05/0.1905, allocations: 39.95 kB / 0.7745 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1905, allocations: 0 / 0.7745 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1905, allocations: 0 / 0.7745 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/0.1929, allocations: 1.463 MB / 0.7759 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.1929, allocations: 101 kB / 0.776 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.447e-05/0.193, allocations: 7.875 kB / 0.776 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004975/0.1935, allocations: 16 kB / 0.776 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.1936, allocations: 44.03 kB / 0.7761 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.787e-05/0.1937, allocations: 35.92 kB / 0.7761 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.25e-05/0.1937, allocations: 79.28 kB / 0.7762 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1937, allocations: 0 / 0.7762 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005363/0.1943, allocations: 179.7 kB / 0.7763 GB, free: 15.53 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002989/0.1973, allocations: 2.126 MB / 0.7784 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.1985, allocations: 0.7113 MB / 0.7791 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1985, allocations: 0 / 0.7791 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000644/0.1991, allocations: 411.6 kB / 0.7795 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.1994, allocations: 16 kB / 0.7795 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007437/0.2069, allocations: 3.728 MB / 0.7832 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.2072, allocations: 0.7142 MB / 0.7839 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009678/0.2082, allocations: 289.5 kB / 0.7841 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005457/0.2087, allocations: 119.4 kB / 0.7842 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.2087, allocations: 0 / 0.7842 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03771/0.2464, allocations: 13.04 MB / 0.797 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.31/7.557, allocations: 8.922 kB / 0.797 GB, free: 10.36 MB / 0.6075 GB " [Timeout remaining time 652] (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/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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.921007249999093]