Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.01002/0.01002, allocations: 101.8 kB / 15.73 MB, free: 6.016 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.001795/0.001795, allocations: 192 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.1 MB / 222.6 MB, free: 4.461 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4264/0.4264, allocations: 54.95 MB / 324.8 MB, free: 32 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 67.17 kB / 456.3 MB, free: 38.4 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1192, allocations: 59.6 MB / 0.5038 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001458/0.1207, allocations: 0.5256 MB / 0.5043 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006014/0.1213, allocations: 322 kB / 0.5046 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.209e-05/0.1213, allocations: 1.375 kB / 0.5046 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.392e-05/0.1214, allocations: 3.938 kB / 0.5046 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.575e-05/0.1214, allocations: 0 / 0.5046 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004029/0.1218, allocations: 106.1 kB / 0.5047 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.354e-05/0.1219, allocations: 9.5 kB / 0.5047 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.1219, allocations: 1.375 kB / 0.5047 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.624e-05/0.1219, allocations: 2.75 kB / 0.5047 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.424e-05/0.122, allocations: 9.297 kB / 0.5047 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.122, allocations: 1.375 kB / 0.5047 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/0.1222, allocations: 190.2 kB / 0.5049 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.1223, allocations: 1.375 kB / 0.5049 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.845e-05/0.1223, allocations: 5.312 kB / 0.5049 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.1225, allocations: 84.61 kB / 0.505 GB, free: 8.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.1225, allocations: 3.984 kB / 0.505 GB, free: 8.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1225, allocations: 0 / 0.505 GB, free: 8.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.882e-06/0.1225, allocations: 0 / 0.505 GB, free: 8.891 MB / 382.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.0002821/0.1228, allocations: 338.5 kB / 0.5053 GB, free: 8.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1228, allocations: 9.625 kB / 0.5053 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.1229, allocations: 2.312 kB / 0.5053 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.076e-05/0.1229, allocations: 161.8 kB / 0.5055 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.123, allocations: 384 / 0.5055 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.123, allocations: 5.75 kB / 0.5055 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.821e-05/0.1231, allocations: 38.31 kB / 0.5055 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1231, allocations: 5.5 kB / 0.5055 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.1231, allocations: 3.938 kB / 0.5055 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1231, allocations: 0 / 0.5055 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.131e-05/0.1231, allocations: 6.75 kB / 0.5055 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.1233, allocations: 157.7 kB / 0.5057 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.42e-05/0.1233, allocations: 20.08 kB / 0.5057 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.504e-05/0.1233, allocations: 10.23 kB / 0.5057 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004651/0.1238, allocations: 0.5761 MB / 0.5063 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.1238, allocations: 35.88 kB / 0.5063 GB, free: 7.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.1239, allocations: 4 kB / 0.5063 GB, free: 7.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004104/0.1243, allocations: 260.4 kB / 0.5066 GB, free: 7.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.958e-05/0.1243, allocations: 56.78 kB / 0.5066 GB, free: 6.969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.583e-05/0.1244, allocations: 96.44 kB / 0.5067 GB, free: 6.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.1244, allocations: 27.05 kB / 0.5067 GB, free: 6.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.881e-05/0.1244, allocations: 81.48 kB / 0.5068 GB, free: 6.754 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.1244, allocations: 13.47 kB / 0.5068 GB, free: 6.742 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.1244, allocations: 16.36 kB / 0.5069 GB, free: 6.723 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.795e-05/0.1245, allocations: 316.2 kB / 0.5072 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.939e-05/0.1245, allocations: 5.344 kB / 0.5072 GB, free: 6.406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.164e-05/0.1245, allocations: 17.44 kB / 0.5072 GB, free: 6.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.204e-05/0.1246, allocations: 30.61 kB / 0.5072 GB, free: 6.359 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.1246, allocations: 5.594 kB / 0.5072 GB, free: 6.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.199e-05/0.1247, allocations: 49.42 kB / 0.5073 GB, free: 6.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1247, allocations: 9.406 kB / 0.5073 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1247, allocations: 3.984 kB / 0.5073 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1247, allocations: 0.9375 kB / 0.5073 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.268e-05/0.1248, allocations: 10.16 kB / 0.5073 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1248, allocations: 1.5 kB / 0.5073 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/0.1248, allocations: 4 kB / 0.5073 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1248, allocations: 1.375 kB / 0.5073 GB, free: 6.301 MB / 382.1 MB 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 4.069e-05/0.1249, allocations: 120.8 kB / 0.5074 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.1249, allocations: 4.875 kB / 0.5074 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.125, allocations: 58.47 kB / 0.5075 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.125, allocations: 0 / 0.5075 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.125, allocations: 1.562 kB / 0.5075 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.125, allocations: 0 / 0.5075 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.067e-05/0.1251, allocations: 157.4 kB / 0.5076 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1251, allocations: 1.281 kB / 0.5076 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.412e-05/0.1251, allocations: 8.406 kB / 0.5076 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1252, allocations: 7.938 kB / 0.5076 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1252, allocations: 1.062 kB / 0.5076 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1252, allocations: 1.156 kB / 0.5076 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1252, allocations: 0 / 0.5076 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.1253, allocations: 78.8 kB / 0.5077 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.1253, allocations: 82.45 kB / 0.5078 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.1253, allocations: 3.938 kB / 0.5078 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.459e-05/0.1254, allocations: 1.406 kB / 0.5078 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.1254, allocations: 5.281 kB / 0.5078 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.1254, allocations: 2.281 kB / 0.5078 GB, free: 5.723 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.046e-05/0.1254, allocations: 84.45 kB / 0.5079 GB, free: 5.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1254, allocations: 1.094 kB / 0.5079 GB, free: 5.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002197/0.1257, allocations: 25.22 kB / 0.5079 GB, free: 5.637 MB / 382.1 MB 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.0001766/0.1258, allocations: 129.7 kB / 0.508 GB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.49e-05/0.1259, allocations: 16.12 kB / 0.508 GB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1259, allocations: 4.125 kB / 0.508 GB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.843e-05/0.126, allocations: 10.39 kB / 0.5081 GB, free: 5.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.1261, allocations: 8.531 kB / 0.5081 GB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002258/0.1263, allocations: 124.7 kB / 0.5082 GB, free: 5.387 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.503e-05/0.1264, allocations: 0.6777 MB / 0.5088 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.492e-05/0.1265, allocations: 2.75 kB / 0.5088 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.393e-05/0.1265, allocations: 9.219 kB / 0.5089 GB, free: 4.68 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1265, allocations: 0 / 0.5089 GB, free: 4.68 MB / 382.1 MB Notification: Performance of Templates: time 0.00313/0.1296, allocations: 1.205 MB / 0.51 GB, free: 3.926 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)