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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 161.3 kB / 22.75 MB, free: 1.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.247/1.247, allocations: 154.6 MB / 414.1 MB, free: 0.6523 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0.6562 kB / 0.5196 GB, free: 2.555 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.081e-05, allocations: 3.844 kB / 0.5196 GB, free: 2.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001618/0.001649, allocations: 0.534 MB / 0.5201 GB, free: 2.035 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007019/0.002351, allocations: 310.4 kB / 0.5204 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.19e-05/0.002373, allocations: 1.562 kB / 0.5204 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.262e-05/0.002386, allocations: 0 / 0.5204 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.578e-05/0.002421, allocations: 0 / 0.5204 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.002838, allocations: 105.2 kB / 0.5205 GB, free: 1.633 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.232e-05/0.00289, allocations: 12.98 kB / 0.5205 GB, free: 1.621 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.062e-05/0.002921, allocations: 0 / 0.5205 GB, free: 1.621 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.334e-05/0.002954, allocations: 11.98 kB / 0.5206 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.306e-05/0.003007, allocations: 8.609 kB / 0.5206 GB, free: 1.602 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.003021, allocations: 0 / 0.5206 GB, free: 1.602 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003198/0.003341, allocations: 176.2 kB / 0.5207 GB, free: 1.43 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.003358, allocations: 9.422 kB / 0.5207 GB, free: 1.422 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.003381, allocations: 4 kB / 0.5208 GB, free: 1.418 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.003609, allocations: 111.7 kB / 0.5209 GB, free: 1.309 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.003611, allocations: 0 / 0.5209 GB, free: 1.309 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003612, allocations: 1.812 kB / 0.5209 GB, free: 1.309 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.003616, allocations: 0 / 0.5209 GB, free: 1.309 MB / 490.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.0004101/0.004026, allocations: 262.2 kB / 0.5211 GB, free: 1.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.004069, allocations: 8.031 kB / 0.5211 GB, free: 1.012 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.004115, allocations: 4.938 kB / 0.5211 GB, free: 1.008 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.004241, allocations: 115.4 kB / 0.5212 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.004253, allocations: 384 / 0.5212 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.004284, allocations: 8.375 kB / 0.5212 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.00441, allocations: 59.95 kB / 0.5213 GB, free: 0.793 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.004417, allocations: 0.9375 kB / 0.5213 GB, free: 0.793 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.004426, allocations: 384 / 0.5213 GB, free: 0.793 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.00443, allocations: 1.781 kB / 0.5213 GB, free: 0.793 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.654e-05/0.004457, allocations: 7.938 kB / 0.5213 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.004626, allocations: 101.3 kB / 0.5214 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.653e-05/0.004693, allocations: 27.88 kB / 0.5214 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/0.004715, allocations: 8.922 kB / 0.5214 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001357/0.006072, allocations: 181.9 kB / 0.5216 GB, free: 456 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.006116, allocations: 38.55 kB / 0.5216 GB, free: 408 kB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.006117, allocations: 0 / 0.5216 GB, free: 408 kB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005209/0.006637, allocations: 181.2 kB / 0.5218 GB, free: 192 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.006684, allocations: 51.41 kB / 0.5219 GB, free: 128 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.009e-05/0.006774, allocations: 100.8 kB / 0.522 GB, free: 20 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.006816, allocations: 25.7 kB / 0.522 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.006873, allocations: 84.14 kB / 0.5221 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.006897, allocations: 11.89 kB / 0.5221 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.975e-05/0.006937, allocations: 21.7 kB / 0.5221 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.007111, allocations: 310.8 kB / 0.5224 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.007129, allocations: 4 kB / 0.5224 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.302e-05/0.007162, allocations: 21.7 kB / 0.5224 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.339e-05/0.007215, allocations: 31.16 kB / 0.5225 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.007216, allocations: 0 / 0.5225 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001028/0.007319, allocations: 58.08 kB / 0.5225 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.007331, allocations: 6.5 kB / 0.5225 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.007336, allocations: 4 kB / 0.5225 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.007353, allocations: 0 / 0.5225 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.865e-05/0.007412, allocations: 4 kB / 0.5225 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.007422, allocations: 7.938 kB / 0.5225 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.439e-05/0.007436, allocations: 0 / 0.5225 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.007446, allocations: 6.438 kB / 0.5225 GB, free: 15.4 MB / 0.4948 GB 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 9.272e-05/0.007539, allocations: 113.8 kB / 0.5226 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.00755, allocations: 0 / 0.5226 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.007684, allocations: 65.28 kB / 0.5227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.007686, allocations: 384 / 0.5227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.007689, allocations: 0 / 0.5227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.007694, allocations: 5.688 kB / 0.5227 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.007814, allocations: 105.3 kB / 0.5228 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.007815, allocations: 0 / 0.5228 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.736e-05/0.007862, allocations: 11.97 kB / 0.5228 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.007869, allocations: 4 kB / 0.5228 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.007875, allocations: 1.125 kB / 0.5228 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007876, allocations: 0 / 0.5228 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.007877, allocations: 0 / 0.5228 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.008031, allocations: 87.44 kB / 0.5229 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-06/0.008036, allocations: 0 / 0.5229 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.00805, allocations: 3.984 kB / 0.5229 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.797e-05/0.008088, allocations: 7.969 kB / 0.5229 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/0.008101, allocations: 0 / 0.5229 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.008108, allocations: 4 kB / 0.5229 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.289e-05/0.008161, allocations: 85.69 kB / 0.523 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008161, allocations: 0 / 0.523 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000245/0.008406, allocations: 31.92 kB / 0.523 GB, free: 14.82 MB / 0.4948 GB 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.000232/0.008638, allocations: 127.2 kB / 0.5232 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.369e-05/0.008722, allocations: 12 kB / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.008724, allocations: 1.469 kB / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.658e-05/0.00875, allocations: 15.94 kB / 0.5232 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.008899, allocations: 7.359 kB / 0.5232 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.009165, allocations: 117.8 kB / 0.5233 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.354e-05/0.009228, allocations: 59.36 kB / 0.5234 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.589e-05/0.009264, allocations: 8.641 kB / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.009289, allocations: 8.5 kB / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.009289, allocations: 0.625 kB / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.004464/0.01375, allocations: 1.27 MB / 0.5246 GB, free: 13.21 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9623526179930195]