Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 98.08 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 220 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8632/0.8632, allocations: 134 MB / 447.2 MB, free: 10.28 MB / 350.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/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003114/0.003114, allocations: 66.86 kB / 0.6194 GB, free: 7.188 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2142, allocations: 85.91 MB / 0.7033 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001862/0.216, allocations: 0.5953 MB / 0.7038 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004582/0.2165, allocations: 163.9 kB / 0.704 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.462e-05/0.2165, allocations: 0 / 0.704 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.2165, allocations: 0 / 0.704 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 1.786e-05/0.2166, allocations: 0 / 0.704 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.2169, allocations: 43.89 kB / 0.704 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.192e-05/0.217, allocations: 15.92 kB / 0.7041 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.217, allocations: 0 / 0.7041 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.353e-05/0.217, allocations: 11.94 kB / 0.7041 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.464e-05/0.2171, allocations: 7.984 kB / 0.7041 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.2171, allocations: 0 / 0.7041 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.944e-05/0.2172, allocations: 35.95 kB / 0.7041 GB, free: 496 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.2172, allocations: 11.94 kB / 0.7041 GB, free: 484 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.2173, allocations: 4 kB / 0.7041 GB, free: 480 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.2174, allocations: 36.09 kB / 0.7042 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2174, allocations: 0 / 0.7042 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2174, allocations: 3.938 kB / 0.7042 GB, free: 440 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.2174, allocations: 0 / 0.7042 GB, free: 440 kB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004413/0.2178, allocations: 258.3 kB / 0.7044 GB, free: 148 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.2179, allocations: 8.031 kB / 0.7044 GB, free: 140 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.541e-05/0.2179, allocations: 8.188 kB / 0.7044 GB, free: 132 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.322e-05/0.2179, allocations: 34.75 kB / 0.7045 GB, free: 88 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.218, allocations: 0.9375 kB / 0.7045 GB, free: 88 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.2181, allocations: 110.5 kB / 0.7046 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.2181, allocations: 384 / 0.7046 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.2181, allocations: 8.375 kB / 0.7046 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.2183, allocations: 49.94 kB / 0.7046 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2183, allocations: 0 / 0.7046 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.2183, allocations: 0 / 0.7046 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2183, allocations: 4 kB / 0.7046 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.376e-05/0.2183, allocations: 19.98 kB / 0.7046 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/0.2185, allocations: 124.8 kB / 0.7048 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.2186, allocations: 42.62 kB / 0.7048 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.584e-05/0.2187, allocations: 16.98 kB / 0.7048 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.2188, allocations: 7.938 kB / 0.7048 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.2188, allocations: 38.48 kB / 0.7049 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.2188, allocations: 4 kB / 0.7049 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.001304/0.2201, allocations: 410.9 kB / 0.7053 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.2202, allocations: 55.41 kB / 0.7053 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.577e-05/0.2202, allocations: 89.86 kB / 0.7054 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.2203, allocations: 29.7 kB / 0.7054 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.2203, allocations: 80.14 kB / 0.7055 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.2203, allocations: 27.78 kB / 0.7055 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.2204, allocations: 25.84 kB / 0.7055 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.2205, allocations: 314.8 kB / 0.7058 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.911e-05/0.2205, allocations: 12 kB / 0.7059 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.609e-05/0.2206, allocations: 15.98 kB / 0.7059 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.181e-05/0.2206, allocations: 41.45 kB / 0.7059 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.2206, allocations: 0 / 0.7059 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001137/0.2207, allocations: 73.56 kB / 0.706 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.2208, allocations: 14.28 kB / 0.706 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2208, allocations: 4 kB / 0.706 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2208, allocations: 4 kB / 0.706 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.073e-05/0.2209, allocations: 15.98 kB / 0.706 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2209, allocations: 0 / 0.706 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.403e-05/0.2209, allocations: 4 kB / 0.706 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.2209, allocations: 7.938 kB / 0.706 GB, free: 14.27 MB / 0.5294 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 (8): * Single equations (assignments): 8 * 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 8.843e-05/0.221, allocations: 105.8 kB / 0.7061 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.221, allocations: 11.92 kB / 0.7061 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.2212, allocations: 81.58 kB / 0.7062 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.2212, allocations: 0 / 0.7062 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2212, allocations: 4 kB / 0.7062 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.2212, allocations: 3.984 kB / 0.7062 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.2213, allocations: 132.8 kB / 0.7064 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.2213, allocations: 3.938 kB / 0.7064 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.373e-05/0.2214, allocations: 15.94 kB / 0.7064 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2214, allocations: 0 / 0.7064 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.2214, allocations: 3.984 kB / 0.7064 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2214, allocations: 0 / 0.7064 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2214, allocations: 0 / 0.7064 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.2216, allocations: 125 kB / 0.7065 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.2216, allocations: 3.938 kB / 0.7065 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.2216, allocations: 3.938 kB / 0.7065 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.698e-05/0.2217, allocations: 4.031 kB / 0.7065 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.258e-05/0.2217, allocations: 7.984 kB / 0.7065 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.2217, allocations: 4 kB / 0.7065 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.759e-05/0.2217, allocations: 83.28 kB / 0.7066 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2217, allocations: 0 / 0.7066 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002208/0.222, allocations: 27.94 kB / 0.7066 GB, free: 13.58 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.000607/0.2226, allocations: 0.6749 MB / 0.7073 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001218/0.2227, allocations: 35.92 kB / 0.7073 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.2227, allocations: 4.156 kB / 0.7073 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.587e-05/0.2227, allocations: 20.45 kB / 0.7073 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.2229, allocations: 8 kB / 0.7074 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.2241, allocations: 1.2 MB / 0.7085 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.2244, allocations: 0.6844 MB / 0.7092 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.883e-05/0.2244, allocations: 15.67 kB / 0.7092 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.965e-05/0.2244, allocations: 15.44 kB / 0.7092 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of SimCode: time 4e-07/0.2244, allocations: 4 kB / 0.7092 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.2478, allocations: 1.956 MB / 0.7111 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.11, allocations: 8.625 kB / 0.7111 GB, free: 8.98 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.918124594027176] Failed to read output from testmodel.py, exit status != 0: 11.276845681946725 11.306317366 11.083583672 Calling exit ...