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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7356/0.7356, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 403.3 MB, free: 7.133 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009733/0.0009733, allocations: 99.75 kB / 484.3 MB, free: 8.75 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 55.92 kB / 0.5618 GB, free: 71.08 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1413, allocations: 80.21 MB / 0.6402 GB, free: 6.805 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001923/0.1432, allocations: 0.5877 MB / 0.6408 GB, free: 6.211 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007273/0.144, allocations: 358.9 kB / 0.6411 GB, free: 5.859 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.682e-05/0.144, allocations: 0 / 0.6411 GB, free: 5.859 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.571e-05/0.1441, allocations: 0 / 0.6411 GB, free: 5.859 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.781e-05/0.1441, allocations: 0 / 0.6411 GB, free: 5.859 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.1444, allocations: 67.84 kB / 0.6412 GB, free: 5.793 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.573e-05/0.1445, allocations: 8 kB / 0.6412 GB, free: 5.785 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.1445, allocations: 7.922 kB / 0.6412 GB, free: 5.777 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.104e-05/0.1446, allocations: 7.938 kB / 0.6412 GB, free: 5.77 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.616e-05/0.1446, allocations: 4 kB / 0.6412 GB, free: 5.766 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.1446, allocations: 0 / 0.6412 GB, free: 5.766 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003017/0.1449, allocations: 191.7 kB / 0.6414 GB, free: 5.578 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.145, allocations: 3.984 kB / 0.6414 GB, free: 5.574 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.145, allocations: 15.94 kB / 0.6414 GB, free: 5.559 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.1452, allocations: 75.86 kB / 0.6415 GB, free: 5.484 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1452, allocations: 0 / 0.6415 GB, free: 5.484 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1452, allocations: 0 / 0.6415 GB, free: 5.484 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.1452, allocations: 0 / 0.6415 GB, free: 5.484 MB / 442.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.0003351/0.1455, allocations: 339.5 kB / 0.6418 GB, free: 5.105 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1456, allocations: 8.031 kB / 0.6418 GB, free: 5.098 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.1456, allocations: 4.875 kB / 0.6418 GB, free: 5.094 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.1457, allocations: 172.6 kB / 0.642 GB, free: 4.887 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1457, allocations: 384 / 0.642 GB, free: 4.887 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.1458, allocations: 8.359 kB / 0.642 GB, free: 4.879 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.503e-05/0.1459, allocations: 37.83 kB / 0.642 GB, free: 4.836 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1459, allocations: 0 / 0.642 GB, free: 4.836 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1459, allocations: 0 / 0.642 GB, free: 4.836 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1459, allocations: 0 / 0.642 GB, free: 4.836 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.028e-05/0.1459, allocations: 7.938 kB / 0.642 GB, free: 4.828 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.1461, allocations: 157.7 kB / 0.6422 GB, free: 4.625 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.461e-05/0.1461, allocations: 26.59 kB / 0.6422 GB, free: 4.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.1462, allocations: 8.922 kB / 0.6422 GB, free: 4.578 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005685/0.1467, allocations: 0.5739 MB / 0.6428 GB, free: 3.875 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.1468, allocations: 38.5 kB / 0.6428 GB, free: 3.828 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1468, allocations: 4 kB / 0.6428 GB, free: 3.824 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005303/0.1473, allocations: 250.3 kB / 0.643 GB, free: 3.527 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.1474, allocations: 51.41 kB / 0.6431 GB, free: 3.465 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.286e-05/0.1474, allocations: 93.86 kB / 0.6432 GB, free: 3.363 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.1475, allocations: 33.7 kB / 0.6432 GB, free: 3.324 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.1475, allocations: 84.12 kB / 0.6433 GB, free: 3.238 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.1475, allocations: 19.95 kB / 0.6433 GB, free: 3.219 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.1476, allocations: 17.72 kB / 0.6433 GB, free: 3.195 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.1477, allocations: 310.8 kB / 0.6436 GB, free: 2.883 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.15e-05/0.1477, allocations: 11.98 kB / 0.6436 GB, free: 2.871 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.419e-05/0.1478, allocations: 13.72 kB / 0.6436 GB, free: 2.852 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.155e-05/0.1478, allocations: 25.72 kB / 0.6437 GB, free: 2.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1478, allocations: 4 kB / 0.6437 GB, free: 2.816 MB / 442.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.548e-05/0.1479, allocations: 57.56 kB / 0.6437 GB, free: 2.754 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1479, allocations: 4 kB / 0.6437 GB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.148, allocations: 3.938 kB / 0.6437 GB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.148, allocations: 7.938 kB / 0.6437 GB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.331e-05/0.148, allocations: 4 kB / 0.6437 GB, free: 2.734 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.148, allocations: 0 / 0.6437 GB, free: 2.734 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.579e-05/0.1481, allocations: 8 kB / 0.6438 GB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.1481, allocations: 0 / 0.6438 GB, free: 2.727 MB / 442.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 () * 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.567e-05/0.1482, allocations: 119.2 kB / 0.6439 GB, free: 2.602 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.1482, allocations: 3.938 kB / 0.6439 GB, free: 2.598 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.1483, allocations: 53.12 kB / 0.6439 GB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1483, allocations: 0 / 0.6439 GB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1483, allocations: 0 / 0.6439 GB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1483, allocations: 4 kB / 0.6439 GB, free: 2.531 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.1484, allocations: 153.7 kB / 0.6441 GB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1485, allocations: 3.938 kB / 0.6441 GB, free: 2.328 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.732e-05/0.1485, allocations: 7.984 kB / 0.6441 GB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1485, allocations: 4.375 kB / 0.6441 GB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.1485, allocations: 0 / 0.6441 GB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1485, allocations: 0 / 0.6441 GB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1485, allocations: 4 kB / 0.6441 GB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/0.151, allocations: 1.155 MB / 0.6452 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.1511, allocations: 89.17 kB / 0.6453 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.643e-06/0.1511, allocations: 0 / 0.6453 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.072e-05/0.1511, allocations: 0 / 0.6453 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.1512, allocations: 3.984 kB / 0.6453 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.1512, allocations: 4 kB / 0.6453 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.482e-05/0.1512, allocations: 75.28 kB / 0.6454 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1512, allocations: 4 kB / 0.6454 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003115/0.1515, allocations: 28 kB / 0.6454 GB, free: 0.7773 MB / 442.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 () * 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.0002264/0.1518, allocations: 131.2 kB / 0.6455 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.846e-05/0.1519, allocations: 23.92 kB / 0.6456 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1519, allocations: 0 / 0.6456 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.664e-05/0.1519, allocations: 7.938 kB / 0.6456 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.152, allocations: 4 kB / 0.6456 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.1523, allocations: 226 kB / 0.6458 GB, free: 344 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.1526, allocations: 0.677 MB / 0.6465 GB, free: 15.63 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.746e-05/0.1526, allocations: 12.11 kB / 0.6465 GB, free: 15.62 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.5e-05/0.1526, allocations: 7.438 kB / 0.6465 GB, free: 15.61 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1526, allocations: 0 / 0.6465 GB, free: 15.61 MB / 458.7 MB Notification: Performance of Templates: time 0.003375/0.156, allocations: 1.213 MB / 0.6477 GB, free: 14.4 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (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 & ./IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)