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.001336/0.001336, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.001355/0.001355, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.537/1.537, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] 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 1.099/1.099, allocations: 175.7 MB / 478.4 MB, free: 3.406 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.001948/0.001948, allocations: 73.89 kB / 0.6653 GB, free: 11.11 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.199, allocations: 94.54 MB / 0.7576 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001769/0.2008, allocations: 0.6165 MB / 0.7582 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.2025, allocations: 1.286 MB / 0.7594 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.578e-05/0.2025, allocations: 0 / 0.7594 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.2025, allocations: 3.938 kB / 0.7594 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.225e-05/0.2025, allocations: 0 / 0.7594 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.2029, allocations: 79.73 kB / 0.7595 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.106e-05/0.203, allocations: 23.97 kB / 0.7595 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.203, allocations: 3.938 kB / 0.7595 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.677e-05/0.2031, allocations: 19.92 kB / 0.7596 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.21e-05/0.2031, allocations: 7.984 kB / 0.7596 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.769e-06/0.2031, allocations: 0 / 0.7596 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002199/0.2033, allocations: 103.9 kB / 0.7597 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.2034, allocations: 11.92 kB / 0.7597 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.2034, allocations: 19.86 kB / 0.7597 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.2035, allocations: 67.78 kB / 0.7598 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2035, allocations: 3.938 kB / 0.7598 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2035, allocations: 4 kB / 0.7598 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2035, allocations: 0 / 0.7598 GB, free: 15.25 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.0004795/0.204, allocations: 351.3 kB / 0.7601 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2041, allocations: 8.031 kB / 0.7601 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.2041, allocations: 34.73 kB / 0.7601 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.2041, allocations: 4.938 kB / 0.7601 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.2043, allocations: 164.4 kB / 0.7603 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.2043, allocations: 12.38 kB / 0.7603 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.2043, allocations: 384 / 0.7603 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.2044, allocations: 57.8 kB / 0.7604 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2044, allocations: 0 / 0.7604 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.2044, allocations: 4 kB / 0.7604 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2044, allocations: 0 / 0.7604 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.388e-05/0.2045, allocations: 23.92 kB / 0.7604 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.2047, allocations: 169.6 kB / 0.7606 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.2048, allocations: 62.55 kB / 0.7606 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.655e-05/0.2049, allocations: 20.86 kB / 0.7606 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000539/0.2054, allocations: 0.5622 MB / 0.7612 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.2054, allocations: 34.5 kB / 0.7612 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.2054, allocations: 0 / 0.7612 GB, free: 13.46 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.01966/0.2251, allocations: 4.385 MB / 0.7655 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.2252, allocations: 55.34 kB / 0.7656 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.22e-05/0.2252, allocations: 93.95 kB / 0.7656 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.355e-05/0.2253, allocations: 33.73 kB / 0.7657 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.2254, allocations: 80.14 kB / 0.7658 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.2255, allocations: 55.48 kB / 0.7658 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002495/0.2257, allocations: 97.66 kB / 0.7659 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2259, allocations: 318.8 kB / 0.7662 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005721/0.2264, allocations: 307.9 kB / 0.7665 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/0.227, allocations: 311.9 kB / 0.7668 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.2286, allocations: 0.7724 MB / 0.7676 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2286, allocations: 4 kB / 0.7676 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001672/0.2303, allocations: 0.8021 MB / 0.7683 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.2303, allocations: 8 kB / 0.7683 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2303, allocations: 0 / 0.7683 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.2303, allocations: 0 / 0.7683 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008208/0.2311, allocations: 87.95 kB / 0.7684 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.2311, allocations: 4.375 kB / 0.7684 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004729/0.2316, allocations: 8 kB / 0.7684 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.509e-05/0.2317, allocations: 35.98 kB / 0.7685 GB, free: 5.824 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.0001983/0.2319, allocations: 121.7 kB / 0.7686 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.582e-05/0.232, allocations: 7.953 kB / 0.7686 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003206/0.2352, allocations: 1.403 MB / 0.77 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.2352, allocations: 7.984 kB / 0.77 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.2352, allocations: 4 kB / 0.77 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.2352, allocations: 3.938 kB / 0.77 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003244/0.2385, allocations: 1.814 MB / 0.7718 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2385, allocations: 4 kB / 0.7718 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008015/0.2393, allocations: 103.9 kB / 0.7719 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.2393, allocations: 3.938 kB / 0.7719 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-05/0.2394, allocations: 39.92 kB / 0.7719 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2394, allocations: 0 / 0.7719 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2394, allocations: 0 / 0.7719 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/0.2419, allocations: 1.474 MB / 0.7733 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.721e-05/0.242, allocations: 89.02 kB / 0.7734 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.103e-05/0.2421, allocations: 7.938 kB / 0.7734 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004896/0.2426, allocations: 16 kB / 0.7734 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.2427, allocations: 39.97 kB / 0.7735 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.179e-05/0.2428, allocations: 31.98 kB / 0.7735 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.287e-05/0.2428, allocations: 79.34 kB / 0.7736 GB, free: 468 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2428, allocations: 4 kB / 0.7736 GB, free: 464 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000584/0.2434, allocations: 175.7 kB / 0.7738 GB, free: 288 kB / 0.5762 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.003336/0.2468, allocations: 2.138 MB / 0.7759 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001355/0.2481, allocations: 0.721 MB / 0.7766 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2481, allocations: 0 / 0.7766 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000685/0.2488, allocations: 403.6 kB / 0.7769 GB, free: 13 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.2491, allocations: 15.98 kB / 0.777 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008079/0.2572, allocations: 3.719 MB / 0.7806 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.2576, allocations: 0.7182 MB / 0.7813 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001093/0.2587, allocations: 293.5 kB / 0.7816 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005551/0.2592, allocations: 111.4 kB / 0.7817 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of SimCode: time 1.132e-06/0.2592, allocations: 0 / 0.7817 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04195/0.3012, allocations: 12.74 MB / 0.7941 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.266/8.567, allocations: 15.88 kB / 0.7941 GB, free: 11.46 MB / 0.6075 GB " [Timeout remaining time 651] (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 --stepSize=0.0008 --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 os._exit(0), Time elapsed: 12.571956066880375] Failed to read output from testmodel.py, exit status != 0: 8.63675654027611 8.651197457 8.444726457 Calling exit ...