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.0008252/0.0008252, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.006734/0.006734, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.615/1.615, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4034/0.4034, allocations: 55.01 MB / 325.7 MB, free: 0.5195 MB / 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.0005946/0.0005946, allocations: 16 kB / 397.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3497, allocations: 60.72 MB / 458 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0005695/0.3503, allocations: 267.6 kB / 458.2 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005703/0.3509, allocations: 343.2 kB / 458.6 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.467e-05/0.3509, allocations: 0 / 458.6 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.3509, allocations: 0 / 458.6 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.308e-05/0.3509, allocations: 0 / 458.6 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.3512, allocations: 62.75 kB / 458.6 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.867e-05/0.3513, allocations: 6.812 kB / 458.6 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.3513, allocations: 5.609 kB / 458.6 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.706e-05/0.3513, allocations: 8.531 kB / 458.7 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.199e-05/0.3514, allocations: 8.266 kB / 458.7 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.3514, allocations: 0 / 458.7 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002351/0.3516, allocations: 188.2 kB / 458.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.144e-05/0.3517, allocations: 3.5 kB / 458.9 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.06e-05/0.3517, allocations: 32.58 kB / 458.9 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.3518, allocations: 83.31 kB / 459 MB, free: 38.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3518, allocations: 3.688 kB / 459 MB, free: 38.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3518, allocations: 0.5625 kB / 459 MB, free: 38.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.3518, allocations: 0.5312 kB / 459 MB, free: 38.32 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.0002291/0.3521, allocations: 338.7 kB / 459.3 MB, free: 37.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.3521, allocations: 12.5 kB / 459.3 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.3522, allocations: 4.266 kB / 459.3 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.588e-05/0.3522, allocations: 167.2 kB / 459.5 MB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.3522, allocations: 1.844 kB / 459.5 MB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.3523, allocations: 6.156 kB / 459.5 MB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.6e-05/0.3523, allocations: 35.77 kB / 459.5 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.3524, allocations: 0.875 kB / 459.5 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.3524, allocations: 5.438 kB / 459.5 MB, free: 37.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3524, allocations: 3.75 kB / 459.5 MB, free: 37.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.747e-05/0.3524, allocations: 2.812 kB / 459.5 MB, free: 37.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001055/0.3525, allocations: 158.8 kB / 459.7 MB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.12e-05/0.3526, allocations: 25.39 kB / 459.7 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.495e-05/0.3526, allocations: 7.734 kB / 459.7 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004298/0.353, allocations: 0.5847 MB / 460.3 MB, free: 36.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.3531, allocations: 35.25 kB / 460.3 MB, free: 36.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 2.124e-06/0.3531, allocations: 0.5 kB / 460.3 MB, free: 36.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003854/0.3535, allocations: 248.2 kB / 460.6 MB, free: 36.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.795e-05/0.3535, allocations: 55.53 kB / 460.6 MB, free: 36.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.305e-05/0.3535, allocations: 102.5 kB / 460.7 MB, free: 36.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.3536, allocations: 25.7 kB / 460.8 MB, free: 36.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.803e-05/0.3536, allocations: 80.14 kB / 460.8 MB, free: 36.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.3536, allocations: 25.58 kB / 460.9 MB, free: 36.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.74e-05/0.3536, allocations: 13 kB / 460.9 MB, free: 36.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.745e-05/0.3537, allocations: 314.8 kB / 461.2 MB, free: 35.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.46e-05/0.3537, allocations: 7.688 kB / 461.2 MB, free: 35.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.311e-05/0.3537, allocations: 23.73 kB / 461.2 MB, free: 35.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.492e-05/0.3538, allocations: 22.44 kB / 461.2 MB, free: 35.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.3538, allocations: 0.6875 kB / 461.2 MB, free: 35.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.89e-05/0.3538, allocations: 57.91 kB / 461.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.3539, allocations: 9.281 kB / 461.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3539, allocations: 5.688 kB / 461.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.3539, allocations: 0.9062 kB / 461.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.374e-05/0.3539, allocations: 5.5 kB / 461.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.3539, allocations: 0 / 461.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.472e-05/0.354, allocations: 3.844 kB / 461.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.354, allocations: 0.9375 kB / 461.3 MB, free: 35.86 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.203e-05/0.354, allocations: 112.6 kB / 461.4 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.208e-06/0.354, allocations: 6.781 kB / 461.4 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.418e-05/0.3541, allocations: 57.8 kB / 461.5 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3542, allocations: 3.031 kB / 461.5 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3542, allocations: 0.8125 kB / 461.5 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3542, allocations: 3.281 kB / 461.5 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.765e-05/0.3542, allocations: 154.6 kB / 461.7 MB, free: 35.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3542, allocations: 1 kB / 461.7 MB, free: 35.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.3543, allocations: 3.5 kB / 461.7 MB, free: 35.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.3543, allocations: 8.156 kB / 461.7 MB, free: 35.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.3543, allocations: 1.031 kB / 461.7 MB, free: 35.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3543, allocations: 0 / 461.7 MB, free: 35.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3543, allocations: 2.266 kB / 461.7 MB, free: 35.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.322e-05/0.3544, allocations: 87.61 kB / 461.8 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.586e-05/0.3544, allocations: 80.73 kB / 461.8 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.3545, allocations: 7.406 kB / 461.8 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.228e-05/0.3545, allocations: 0 / 461.8 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.209e-05/0.3545, allocations: 6.672 kB / 461.8 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.3545, allocations: 1.312 kB / 461.9 MB, free: 35.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.754e-05/0.3545, allocations: 77.84 kB / 461.9 MB, free: 35.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.3546, allocations: 0 / 461.9 MB, free: 35.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002043/0.3548, allocations: 33.84 kB / 462 MB, free: 35.26 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.0001551/0.3549, allocations: 122.7 kB / 462.1 MB, free: 35.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.549e-05/0.355, allocations: 18.09 kB / 462.1 MB, free: 35.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.355, allocations: 0 / 462.1 MB, free: 35.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.324e-05/0.355, allocations: 15.7 kB / 462.1 MB, free: 35.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.3552, allocations: 0 / 462.1 MB, free: 35.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001683/0.3553, allocations: 114.7 kB / 462.2 MB, free: 35.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.39e-05/0.3554, allocations: 0.6822 MB / 462.9 MB, free: 34.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.156e-05/0.3555, allocations: 2.625 kB / 462.9 MB, free: 34.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.24e-05/0.3555, allocations: 10.97 kB / 462.9 MB, free: 34.36 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3555, allocations: 0 / 462.9 MB, free: 34.36 MB / 382.1 MB Notification: Performance of Templates: time 0.002834/0.3583, allocations: 1.195 MB / 464.1 MB, free: 34.32 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: