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.008643/0.008643, allocations: 104.2 kB / 15.73 MB, free: 5.992 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.001457/0.001457, allocations: 198.3 kB / 16.68 MB, free: 5.914 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.541/1.541, allocations: 205.1 MB / 222.6 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4057/0.4057, allocations: 54.94 MB / 324.8 MB, free: 52 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.001522/0.001522, allocations: 68.11 kB / 456.3 MB, free: 38.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1377, allocations: 59.59 MB / 0.5038 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001676/0.1394, allocations: 0.5297 MB / 0.5043 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006034/0.14, allocations: 321.9 kB / 0.5046 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.1401, allocations: 1.125 kB / 0.5046 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.421e-05/0.1401, allocations: 3.938 kB / 0.5046 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.81e-05/0.1401, allocations: 4 kB / 0.5046 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.1405, allocations: 114.1 kB / 0.5047 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.507e-05/0.1406, allocations: 5.406 kB / 0.5048 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.1406, allocations: 2.25 kB / 0.5048 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.889e-05/0.1407, allocations: 6.234 kB / 0.5048 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.835e-05/0.1407, allocations: 6.219 kB / 0.5048 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.1407, allocations: 7.938 kB / 0.5048 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.141, allocations: 186.6 kB / 0.5049 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.141, allocations: 1.188 kB / 0.505 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.1411, allocations: 5.219 kB / 0.505 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.1412, allocations: 84.62 kB / 0.505 GB, free: 8.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1412, allocations: 0 / 0.505 GB, free: 8.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1412, allocations: 0 / 0.505 GB, free: 8.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1412, allocations: 1.281 kB / 0.505 GB, free: 8.656 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.000287/0.1415, allocations: 338.2 kB / 0.5054 GB, free: 8.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1416, allocations: 9.031 kB / 0.5054 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.1416, allocations: 6.75 kB / 0.5054 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.823e-05/0.1417, allocations: 160.4 kB / 0.5055 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1417, allocations: 2.344 kB / 0.5055 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.1417, allocations: 2.438 kB / 0.5055 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.68e-05/0.1418, allocations: 42.16 kB / 0.5056 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.1418, allocations: 192 / 0.5056 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1418, allocations: 3.938 kB / 0.5056 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1419, allocations: 0 / 0.5056 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.002e-05/0.1419, allocations: 7.672 kB / 0.5056 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.142, allocations: 161.3 kB / 0.5057 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.609e-05/0.142, allocations: 18.36 kB / 0.5058 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.1421, allocations: 10.83 kB / 0.5058 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004607/0.1425, allocations: 0.5805 MB / 0.5063 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.1425, allocations: 40.08 kB / 0.5064 GB, free: 7.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.1426, allocations: 3.938 kB / 0.5064 GB, free: 7.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004009/0.143, allocations: 256.1 kB / 0.5066 GB, free: 6.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.805e-05/0.143, allocations: 52.84 kB / 0.5067 GB, free: 6.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.324e-05/0.143, allocations: 97.86 kB / 0.5068 GB, free: 6.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.1431, allocations: 29.7 kB / 0.5068 GB, free: 6.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.934e-05/0.1431, allocations: 81.27 kB / 0.5069 GB, free: 6.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.1431, allocations: 5.188 kB / 0.5069 GB, free: 6.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.1431, allocations: 21.92 kB / 0.5069 GB, free: 6.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.674e-05/0.1432, allocations: 310.8 kB / 0.5072 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.1432, allocations: 4.812 kB / 0.5072 GB, free: 6.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.093e-05/0.1432, allocations: 22.02 kB / 0.5072 GB, free: 6.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.912e-05/0.1433, allocations: 32.03 kB / 0.5072 GB, free: 6.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.1433, allocations: 0 / 0.5072 GB, free: 6.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.009e-05/0.1434, allocations: 53.53 kB / 0.5073 GB, free: 6.078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.1434, allocations: 9.75 kB / 0.5073 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1434, allocations: 0 / 0.5073 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1434, allocations: 5.406 kB / 0.5073 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.429e-05/0.1434, allocations: 5.406 kB / 0.5073 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1435, allocations: 9.344 kB / 0.5073 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/0.1435, allocations: 5.562 kB / 0.5073 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1435, allocations: 1.219 kB / 0.5073 GB, free: 6.059 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.246e-05/0.1435, allocations: 107.4 kB / 0.5074 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.1436, allocations: 5.438 kB / 0.5074 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.1437, allocations: 53.92 kB / 0.5075 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1437, allocations: 1.156 kB / 0.5075 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1437, allocations: 3.938 kB / 0.5075 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1437, allocations: 4 kB / 0.5075 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.014e-05/0.1437, allocations: 159 kB / 0.5077 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1438, allocations: 0 / 0.5077 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.1438, allocations: 5.531 kB / 0.5077 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1438, allocations: 3.938 kB / 0.5077 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.1438, allocations: 0 / 0.5077 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1438, allocations: 1.312 kB / 0.5077 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1438, allocations: 3.984 kB / 0.5077 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.1439, allocations: 82.91 kB / 0.5077 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.144, allocations: 82.36 kB / 0.5078 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.144, allocations: 5.344 kB / 0.5078 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.344e-05/0.144, allocations: 4 kB / 0.5078 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.675e-05/0.144, allocations: 5.312 kB / 0.5078 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.1441, allocations: 5.453 kB / 0.5078 GB, free: 5.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.001e-05/0.1441, allocations: 81.97 kB / 0.5079 GB, free: 5.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1441, allocations: 3.938 kB / 0.5079 GB, free: 5.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000218/0.1443, allocations: 27.19 kB / 0.508 GB, free: 5.395 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.0001615/0.1445, allocations: 128.3 kB / 0.5081 GB, free: 5.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.128e-05/0.1446, allocations: 16.36 kB / 0.5081 GB, free: 5.285 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1446, allocations: 0 / 0.5081 GB, free: 5.285 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.524e-05/0.1446, allocations: 13.44 kB / 0.5081 GB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.1447, allocations: 2.75 kB / 0.5081 GB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000206/0.1449, allocations: 115.3 kB / 0.5082 GB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.1451, allocations: 0.677 MB / 0.5089 GB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.255e-05/0.1451, allocations: 8.125 kB / 0.5089 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.295e-05/0.1451, allocations: 8.812 kB / 0.5089 GB, free: 4.445 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1451, allocations: 1.375 kB / 0.5089 GB, free: 4.445 MB / 382.1 MB Notification: Performance of Templates: time 0.003092/0.1482, allocations: 1.209 MB / 0.5101 GB, free: 3.84 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)