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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.2788/0.2788, allocations: 54.33 MB / 66.89 MB, free: 6.094 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00104/0.001041, allocations: 180.1 kB / 80.7 MB, free: 15.39 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.519/1.519, allocations: 194.2 MB / 288.6 MB, free: 15.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001827/0.001827, allocations: 118.1 kB / 346.9 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.925e-05/3.955e-05, allocations: 4 kB / 412.4 MB, free: 21.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1474, allocations: 57.64 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4729/0.6203, allocations: 85.25 MB / 0.5423 GB, free: 5.172 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003367/0.6208, allocations: 83.92 kB / 0.5423 GB, free: 5.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006179/0.627, allocations: 1.797 MB / 0.5441 GB, free: 3.297 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.627, allocations: 0 / 0.5441 GB, free: 3.297 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.627, allocations: 0 / 0.5441 GB, free: 3.297 MB / 378.7 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.0004305/0.6274, allocations: 335.1 kB / 0.5444 GB, free: 2.926 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.683e-05/0.6275, allocations: 15.97 kB / 0.5444 GB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.563e-05/0.6276, allocations: 6.656 kB / 0.5444 GB, free: 2.906 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.6278, allocations: 159.1 kB / 0.5446 GB, free: 2.711 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.6279, allocations: 0 / 0.5446 GB, free: 2.711 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.6279, allocations: 4 kB / 0.5446 GB, free: 2.707 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.6281, allocations: 45.58 kB / 0.5446 GB, free: 2.656 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.6281, allocations: 3.984 kB / 0.5446 GB, free: 2.652 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.6281, allocations: 0 / 0.5446 GB, free: 2.652 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.6281, allocations: 0 / 0.5446 GB, free: 2.652 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.125e-05/0.6282, allocations: 4 kB / 0.5447 GB, free: 2.648 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002639/0.6284, allocations: 157.6 kB / 0.5448 GB, free: 2.445 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.186e-05/0.6285, allocations: 22.61 kB / 0.5448 GB, free: 2.414 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.739e-05/0.6286, allocations: 12.92 kB / 0.5448 GB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007757/0.6293, allocations: 0.5817 MB / 0.5454 GB, free: 1.688 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.6294, allocations: 30.56 kB / 0.5454 GB, free: 1.648 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.6294, allocations: 4 kB / 0.5454 GB, free: 1.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0007798/0.6302, allocations: 252.9 kB / 0.5457 GB, free: 1.348 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.6303, allocations: 51.41 kB / 0.5457 GB, free: 1.285 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.6304, allocations: 89 kB / 0.5458 GB, free: 1.191 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.6304, allocations: 25.7 kB / 0.5458 GB, free: 1.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.6305, allocations: 92.12 kB / 0.5459 GB, free: 1.066 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.6305, allocations: 4.031 kB / 0.5459 GB, free: 1.062 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.6305, allocations: 4 kB / 0.5459 GB, free: 1.059 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.6307, allocations: 314.8 kB / 0.5462 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.6308, allocations: 7.938 kB / 0.5462 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.679e-05/0.6308, allocations: 17.72 kB / 0.5463 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.509e-05/0.6308, allocations: 11.98 kB / 0.5463 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.6308, allocations: 0 / 0.5463 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.471e-05/0.6309, allocations: 53.64 kB / 0.5463 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.631, allocations: 7.938 kB / 0.5463 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.631, allocations: 0 / 0.5463 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.631, allocations: 7.953 kB / 0.5463 GB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.99e-05/0.6311, allocations: 7.984 kB / 0.5463 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.6311, allocations: 0 / 0.5463 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.602e-05/0.6311, allocations: 4 kB / 0.5463 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.6312, allocations: 0 / 0.5463 GB, free: 0.6133 MB / 378.7 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 () * 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 0.0001089/0.6313, allocations: 104.9 kB / 0.5464 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.6313, allocations: 15.91 kB / 0.5465 GB, free: 500 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.6315, allocations: 49.81 kB / 0.5465 GB, free: 444 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.6315, allocations: 0 / 0.5465 GB, free: 444 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.6315, allocations: 7.938 kB / 0.5465 GB, free: 436 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.6315, allocations: 4 kB / 0.5465 GB, free: 432 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.6317, allocations: 153.7 kB / 0.5467 GB, free: 228 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6317, allocations: 3.438 kB / 0.5467 GB, free: 228 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.442e-05/0.6318, allocations: 4 kB / 0.5467 GB, free: 224 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.6318, allocations: 0 / 0.5467 GB, free: 224 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.6318, allocations: 0 / 0.5467 GB, free: 224 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.6318, allocations: 4 kB / 0.5467 GB, free: 220 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6318, allocations: 0 / 0.5467 GB, free: 220 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.632, allocations: 89.38 kB / 0.5468 GB, free: 112 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.6321, allocations: 77.11 kB / 0.5468 GB, free: 16 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.6321, allocations: 3.984 kB / 0.5468 GB, free: 12 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.473e-05/0.6321, allocations: 4.031 kB / 0.5468 GB, free: 8 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.972e-05/0.6322, allocations: 4 kB / 0.5468 GB, free: 4 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.6322, allocations: 4.062 kB / 0.5469 GB, free: 0 / 378.7 MB Notification: Performance of sorting global known variables: time 8.367e-05/0.6323, allocations: 83.28 kB / 0.5469 GB, free: 15.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6323, allocations: 0 / 0.5469 GB, free: 15.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002517/0.6325, allocations: 39.88 kB / 0.547 GB, free: 15.88 MB / 394.7 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 () * 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.0003122/0.6329, allocations: 139.2 kB / 0.5471 GB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.633, allocations: 19.92 kB / 0.5471 GB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.633, allocations: 0 / 0.5471 GB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.893e-05/0.633, allocations: 8 kB / 0.5471 GB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.6332, allocations: 8.125 kB / 0.5471 GB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.6335, allocations: 78.88 kB / 0.5472 GB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.6339, allocations: 0.6848 MB / 0.5479 GB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.523e-05/0.6339, allocations: 7.984 kB / 0.5479 GB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.84e-05/0.6339, allocations: 7.438 kB / 0.5479 GB, free: 14.88 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.6339, allocations: 0 / 0.5479 GB, free: 14.88 MB / 394.7 MB Notification: Performance of Templates: time 0.003695/0.6376, allocations: 1.061 MB / 0.5489 GB, free: 13.82 MB / 394.7 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)