Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.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.001345/0.001345, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001506/0.001506, allocations: 211.2 kB / 22.24 MB, free: 5.262 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.362/1.362, allocations: 230.6 MB / 256 MB, free: 7.793 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.8101/0.8101, allocations: 134 MB / 446.4 MB, free: 9.949 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.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",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.001947/0.001947, allocations: 72.44 kB / 0.6185 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1597, allocations: 85.91 MB / 0.7024 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001618/0.1613, allocations: 0.5387 MB / 0.7029 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006562/0.162, allocations: 315.4 kB / 0.7032 GB, free: 244 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.084e-05/0.162, allocations: 0 / 0.7032 GB, free: 244 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.251e-05/0.162, allocations: 0 / 0.7032 GB, free: 244 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.714e-05/0.162, allocations: 4 kB / 0.7032 GB, free: 240 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.1624, allocations: 95.69 kB / 0.7033 GB, free: 144 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.001e-05/0.1625, allocations: 15.92 kB / 0.7033 GB, free: 128 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.785e-05/0.1625, allocations: 4 kB / 0.7033 GB, free: 124 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.926e-05/0.1625, allocations: 0 / 0.7033 GB, free: 124 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.709e-05/0.1626, allocations: 4 kB / 0.7033 GB, free: 120 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.1626, allocations: 4 kB / 0.7033 GB, free: 116 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003053/0.1629, allocations: 187.7 kB / 0.7035 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.1629, allocations: 7.938 kB / 0.7035 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.623e-05/0.1629, allocations: 4 kB / 0.7035 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.1631, allocations: 83.95 kB / 0.7036 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1631, allocations: 3.938 kB / 0.7036 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1631, allocations: 3.938 kB / 0.7036 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1631, allocations: 4 kB / 0.7036 GB, free: 15.82 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003333/0.1634, allocations: 262.2 kB / 0.7039 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1635, allocations: 12.03 kB / 0.7039 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.81e-05/0.1635, allocations: 42.73 kB / 0.7039 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.379e-05/0.1635, allocations: 0.9375 kB / 0.7039 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.396e-05/0.1636, allocations: 106.5 kB / 0.704 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1636, allocations: 4.359 kB / 0.704 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.1637, allocations: 8.078 kB / 0.704 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.1638, allocations: 67.39 kB / 0.7041 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1638, allocations: 0 / 0.7041 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.1638, allocations: 0 / 0.7041 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1638, allocations: 0 / 0.7041 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.319e-05/0.1638, allocations: 7.938 kB / 0.7041 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.164, allocations: 120.8 kB / 0.7042 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.207e-05/0.164, allocations: 26.56 kB / 0.7042 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.164, allocations: 8.797 kB / 0.7042 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/0.1653, allocations: 187.9 kB / 0.7044 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.1653, allocations: 34.55 kB / 0.7045 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.1653, allocations: 4 kB / 0.7045 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004373/0.1657, allocations: 165.3 kB / 0.7046 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.1658, allocations: 51.41 kB / 0.7047 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.783e-05/0.1658, allocations: 98.08 kB / 0.7048 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.1658, allocations: 33.7 kB / 0.7048 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.1659, allocations: 88.06 kB / 0.7049 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.1659, allocations: 11.91 kB / 0.7049 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.1659, allocations: 17.7 kB / 0.7049 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1661, allocations: 322.8 kB / 0.7052 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.414e-05/0.1661, allocations: 0 / 0.7052 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.159e-05/0.1661, allocations: 25.7 kB / 0.7052 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.405e-05/0.1662, allocations: 21.72 kB / 0.7053 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1662, allocations: 0 / 0.7053 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.365e-05/0.1662, allocations: 61.56 kB / 0.7053 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1663, allocations: 8 kB / 0.7053 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1663, allocations: 0 / 0.7053 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1663, allocations: 0 / 0.7053 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.736e-05/0.1663, allocations: 8 kB / 0.7053 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1663, allocations: 0 / 0.7053 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.281e-05/0.1663, allocations: 0 / 0.7053 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1663, allocations: 4 kB / 0.7053 GB, free: 13.82 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 7.918e-05/0.1664, allocations: 113.8 kB / 0.7054 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.1664, allocations: 15.95 kB / 0.7055 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.1666, allocations: 57.3 kB / 0.7055 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1666, allocations: 0 / 0.7055 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1666, allocations: 4 kB / 0.7055 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1666, allocations: 0 / 0.7055 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.1667, allocations: 128.7 kB / 0.7056 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1667, allocations: 384 / 0.7056 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/0.1667, allocations: 8 kB / 0.7057 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1667, allocations: 0 / 0.7057 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.1667, allocations: 0 / 0.7057 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1667, allocations: 0 / 0.7057 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1667, allocations: 4 kB / 0.7057 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.1669, allocations: 88.98 kB / 0.7057 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-06/0.1669, allocations: 3.984 kB / 0.7057 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.1669, allocations: 0 / 0.7057 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.025e-05/0.1669, allocations: 4.031 kB / 0.7057 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.083e-05/0.1669, allocations: 0 / 0.7057 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.1669, allocations: 0 / 0.7057 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.381e-05/0.167, allocations: 83.28 kB / 0.7058 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.167, allocations: 0 / 0.7058 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002149/0.1672, allocations: 35.86 kB / 0.7059 GB, free: 13.2 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 (3): * Single equations (assignments): 3 * 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.0004812/0.1677, allocations: 0.6474 MB / 0.7065 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.171e-05/0.1677, allocations: 19.98 kB / 0.7065 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1677, allocations: 0 / 0.7065 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.437e-05/0.1678, allocations: 4 kB / 0.7065 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.1679, allocations: 11.94 kB / 0.7065 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009565/0.1688, allocations: 1.143 MB / 0.7076 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.799e-05/0.1689, allocations: 63.22 kB / 0.7077 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.623e-05/0.1689, allocations: 12.17 kB / 0.7077 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.1689, allocations: 7.438 kB / 0.7077 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.1689, allocations: 0 / 0.7077 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/0.1971, allocations: 2.623 MB / 0.7103 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.63, allocations: 5.078 kB / 0.7103 GB, free: 8.664 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.988748996984214] Failed to read output from testmodel.py, exit status != 0: 10.732444381807 10.748468127 10.582386255 Calling exit ...