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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2829/0.2829, allocations: 54.4 MB / 61.68 MB, free: 11.18 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.001517/0.001517, allocations: 187.4 kB / 75.38 MB, free: 1.512 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.394/1.394, allocations: 194.2 MB / 283.2 MB, free: 3.562 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001758/0.001758, allocations: 119.4 kB / 341.3 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.274e-06/7.474e-06, allocations: 4 kB / 404.9 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1253, allocations: 57.64 MB / 462.6 MB, free: 2.004 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3972/0.5226, allocations: 84.52 MB / 0.5343 GB, free: 12.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.523, allocations: 77.05 kB / 0.5344 GB, free: 12.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.006115/0.5291, allocations: 1.52 MB / 0.5358 GB, free: 11.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.5292, allocations: 0 / 0.5358 GB, free: 11.23 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.000322/0.5295, allocations: 330.4 kB / 0.5362 GB, free: 10.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.5295, allocations: 23.91 kB / 0.5362 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.5296, allocations: 3.906 kB / 0.5362 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.5297, allocations: 163.1 kB / 0.5363 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.5298, allocations: 0 / 0.5363 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.5298, allocations: 4 kB / 0.5363 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.192e-05/0.5298, allocations: 11.84 kB / 0.5364 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.647e-05/0.5299, allocations: 33.33 kB / 0.5364 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.5299, allocations: 0 / 0.5364 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.5299, allocations: 0 / 0.5364 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.53, allocations: 4 kB / 0.5364 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.5301, allocations: 134.2 kB / 0.5365 GB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.978e-05/0.5302, allocations: 22.3 kB / 0.5365 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.5302, allocations: 8.922 kB / 0.5365 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005481/0.5308, allocations: 0.5817 MB / 0.5371 GB, free: 9.664 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.5308, allocations: 30.56 kB / 0.5371 GB, free: 9.625 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5308, allocations: 0 / 0.5371 GB, free: 9.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005911/0.5314, allocations: 249.7 kB / 0.5374 GB, free: 9.336 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.5314, allocations: 51.41 kB / 0.5374 GB, free: 9.273 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.024e-05/0.5315, allocations: 89 kB / 0.5375 GB, free: 9.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.5315, allocations: 25.7 kB / 0.5375 GB, free: 9.148 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.684e-05/0.5316, allocations: 83.83 kB / 0.5376 GB, free: 9.066 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.5316, allocations: 11.8 kB / 0.5376 GB, free: 9.055 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.5316, allocations: 0 / 0.5376 GB, free: 9.055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.5317, allocations: 314.8 kB / 0.5379 GB, free: 8.738 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.5317, allocations: 7.625 kB / 0.5379 GB, free: 8.734 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.909e-05/0.5318, allocations: 24.09 kB / 0.538 GB, free: 8.707 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.692e-05/0.5318, allocations: 7.5 kB / 0.538 GB, free: 8.703 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.5318, allocations: 0 / 0.538 GB, free: 8.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001008/0.5319, allocations: 49.59 kB / 0.538 GB, free: 8.648 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.532, allocations: 4 kB / 0.538 GB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.532, allocations: 0 / 0.538 GB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.532, allocations: 4.062 kB / 0.538 GB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.966e-05/0.5321, allocations: 11.94 kB / 0.538 GB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.5321, allocations: 7.922 kB / 0.538 GB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.575e-05/0.5321, allocations: 3.688 kB / 0.538 GB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.5321, allocations: 4 kB / 0.538 GB, free: 8.617 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 6.511e-05/0.5322, allocations: 101 kB / 0.5381 GB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.5322, allocations: 3.906 kB / 0.5381 GB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.5324, allocations: 52.94 kB / 0.5382 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5324, allocations: 4 kB / 0.5382 GB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.5324, allocations: 0 / 0.5382 GB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.5324, allocations: 0 / 0.5382 GB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.798e-05/0.5325, allocations: 138.1 kB / 0.5383 GB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.5325, allocations: 0 / 0.5383 GB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.957e-05/0.5326, allocations: 8 kB / 0.5383 GB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.5326, allocations: 3.984 kB / 0.5383 GB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.5326, allocations: 3.938 kB / 0.5383 GB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5326, allocations: 0 / 0.5383 GB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5326, allocations: 0 / 0.5383 GB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001433/0.5328, allocations: 80.28 kB / 0.5384 GB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.5328, allocations: 81.11 kB / 0.5385 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.5328, allocations: 0 / 0.5385 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.476e-05/0.5329, allocations: 0 / 0.5385 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.136e-05/0.5329, allocations: 0 / 0.5385 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.5329, allocations: 8.031 kB / 0.5385 GB, free: 8.066 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.247e-05/0.5329, allocations: 79.33 kB / 0.5386 GB, free: 7.992 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002169/0.5332, allocations: 35.94 kB / 0.5386 GB, free: 7.957 MB / 378.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.0002262/0.5334, allocations: 147.1 kB / 0.5388 GB, free: 7.805 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.355e-05/0.5335, allocations: 19.83 kB / 0.5388 GB, free: 7.789 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5335, allocations: 0 / 0.5388 GB, free: 7.789 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.12e-05/0.5335, allocations: 4 kB / 0.5388 GB, free: 7.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000106/0.5336, allocations: 4 kB / 0.5388 GB, free: 7.781 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.5338, allocations: 69.08 kB / 0.5389 GB, free: 7.695 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.5341, allocations: 0.6994 MB / 0.5395 GB, free: 6.973 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5341, allocations: 3.938 kB / 0.5395 GB, free: 6.969 MB / 378.7 MB Notification: Performance of Templates: time 0.003341/0.5375, allocations: 1.19 MB / 0.5407 GB, free: 5.793 MB / 378.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)