Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) 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: translateModel(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009929/0.000993, allocations: 92 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.015/1.015, allocations: 135.3 MB / 426.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003785, allocations: 8 kB / 0.507 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2052, allocations: 82.31 MB / 0.5874 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.000751/0.206, allocations: 258.9 kB / 0.5876 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006697/0.2067, allocations: 308.9 kB / 0.5879 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.2068, allocations: 0 / 0.5879 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.347e-05/0.2068, allocations: 0 / 0.5879 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.451e-05/0.2068, allocations: 0 / 0.5879 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.2072, allocations: 63.86 kB / 0.588 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.784e-05/0.2073, allocations: 11.97 kB / 0.588 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.2073, allocations: 0 / 0.588 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.693e-05/0.2074, allocations: 11.94 kB / 0.588 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.63e-05/0.2074, allocations: 0 / 0.588 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.2074, allocations: 0 / 0.588 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003103/0.2078, allocations: 183.7 kB / 0.5882 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.2078, allocations: 11.97 kB / 0.5882 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.2078, allocations: 33.64 kB / 0.5882 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.208, allocations: 47.92 kB / 0.5883 GB, free: 2.219 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.208, allocations: 0 / 0.5883 GB, free: 2.219 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.208, allocations: 0 / 0.5883 GB, free: 2.219 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.208, allocations: 0 / 0.5883 GB, free: 2.219 MB / 494.1 MB 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.0003528/0.2083, allocations: 327.4 kB / 0.5886 GB, free: 1.852 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2084, allocations: 8.031 kB / 0.5886 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.2084, allocations: 7.906 kB / 0.5886 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.2086, allocations: 171.2 kB / 0.5888 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.2086, allocations: 4 kB / 0.5888 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.2086, allocations: 8 kB / 0.5888 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.2087, allocations: 37.67 kB / 0.5888 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2088, allocations: 0 / 0.5888 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.2088, allocations: 0 / 0.5888 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2088, allocations: 0 / 0.5888 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.389e-05/0.2088, allocations: 4 kB / 0.5888 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.209, allocations: 161.6 kB / 0.589 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.733e-05/0.2091, allocations: 30.52 kB / 0.589 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/0.2091, allocations: 8.844 kB / 0.589 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00061/0.2097, allocations: 0.5818 MB / 0.5896 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.2097, allocations: 38.56 kB / 0.5896 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2098, allocations: 0 / 0.5896 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005363/0.2103, allocations: 250.3 kB / 0.5898 GB, free: 264 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.2103, allocations: 51.41 kB / 0.5899 GB, free: 200 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.892e-05/0.2104, allocations: 97.86 kB / 0.59 GB, free: 92 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.2104, allocations: 25.7 kB / 0.59 GB, free: 60 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.2105, allocations: 88.3 kB / 0.5901 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.2105, allocations: 15.89 kB / 0.5901 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.2105, allocations: 0 / 0.5901 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2107, allocations: 314.8 kB / 0.5904 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.2107, allocations: 4 kB / 0.5904 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.376e-05/0.2107, allocations: 21.66 kB / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.448e-05/0.2108, allocations: 7.984 kB / 0.5904 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.2108, allocations: 4 kB / 0.5904 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.496e-05/0.2108, allocations: 49.7 kB / 0.5905 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2109, allocations: 8 kB / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.2109, allocations: 0 / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.2109, allocations: 0 / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.83e-05/0.211, allocations: 15.92 kB / 0.5905 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.211, allocations: 0 / 0.5905 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.589e-05/0.211, allocations: 7.938 kB / 0.5905 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.211, allocations: 0 / 0.5905 GB, free: 15.51 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.728e-05/0.2111, allocations: 117.9 kB / 0.5906 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.2111, allocations: 3.906 kB / 0.5906 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.2112, allocations: 57.17 kB / 0.5907 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.2112, allocations: 4 kB / 0.5907 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2113, allocations: 0 / 0.5907 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2113, allocations: 0 / 0.5907 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.2114, allocations: 157.6 kB / 0.5908 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2114, allocations: 0 / 0.5908 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/0.2114, allocations: 7.938 kB / 0.5908 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2115, allocations: 4 kB / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.2115, allocations: 4 kB / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2115, allocations: 0 / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2115, allocations: 0 / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.2116, allocations: 81.47 kB / 0.5909 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.2117, allocations: 81.06 kB / 0.591 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.2117, allocations: 4.031 kB / 0.591 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.075e-05/0.2117, allocations: 0 / 0.591 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.272e-05/0.2118, allocations: 4.062 kB / 0.591 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.2118, allocations: 4 kB / 0.591 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.724e-05/0.2118, allocations: 79.27 kB / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2118, allocations: 3.938 kB / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002233/0.212, allocations: 32 kB / 0.5911 GB, free: 14.77 MB / 0.4981 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 (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.0002225/0.2123, allocations: 127.2 kB / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.139e-05/0.2124, allocations: 16 kB / 0.5913 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2124, allocations: 128 / 0.5913 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.772e-05/0.2124, allocations: 15.98 kB / 0.5913 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.2126, allocations: 3.234 kB / 0.5913 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002358/0.2128, allocations: 116.5 kB / 0.5914 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.213, allocations: 0.6731 MB / 0.5921 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.881e-05/0.2131, allocations: 4 kB / 0.5921 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.2131, allocations: 15.42 kB / 0.5921 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.2131, allocations: 0 / 0.5921 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.003695/0.2168, allocations: 1.185 MB / 0.5932 GB, free: 12.57 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)