Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.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.0008663/0.0008663, allocations: 79.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.0009894/0.0009894, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.05/1.05, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2767/0.2767, allocations: 34.25 MB / 295.7 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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(ModelicaTest.Blocks.Exponentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|evenExponent.y|oddExponent.y|oneExponent.y|zeroExponent.y|nonInteger.y|sqrtExponent.y|inverse.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation") translateModel(ModelicaTest.Blocks.Exponentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|evenExponent.y|oddExponent.y|oneExponent.y|zeroExponent.y|nonInteger.y|sqrtExponent.y|inverse.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.206e-05, allocations: 13.77 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003263/0.003296, allocations: 1.709 MB / 379.7 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002952/0.003591, allocations: 67.75 kB / 379.8 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.318e-05/0.003684, allocations: 7.938 kB / 379.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.078e-05/0.003725, allocations: 7.875 kB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.598e-05/0.003791, allocations: 15.81 kB / 379.8 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.003961, allocations: 31.95 kB / 379.9 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.004077, allocations: 83.81 kB / 379.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.004192, allocations: 21.58 kB / 380 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.115e-05/0.004283, allocations: 59.81 kB / 380 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.585e-05/0.004329, allocations: 23.91 kB / 380.1 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.00435, allocations: 8 kB / 380.1 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.004361, allocations: 8 kB / 380.1 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.004379, allocations: 11.92 kB / 380.1 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.004404, allocations: 27.92 kB / 380.1 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.004508, allocations: 63.69 kB / 380.2 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.004511, allocations: 0 / 380.2 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004512, allocations: 0 / 380.2 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.004517, allocations: 0 / 380.2 MB, free: 0.4922 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005651/0.005082, allocations: 416.4 kB / 380.6 MB, free: 48 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.00512, allocations: 8.031 kB / 380.6 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.005161, allocations: 24.84 kB / 380.6 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.005332, allocations: 160.4 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.005352, allocations: 4.562 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.005364, allocations: 12.38 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.005544, allocations: 118 kB / 380.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.00555, allocations: 0 / 380.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.005563, allocations: 8 kB / 380.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.005569, allocations: 0 / 380.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.693e-05/0.005626, allocations: 38.78 kB / 380.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.006032, allocations: 482.5 kB / 381.4 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.246e-05/0.006125, allocations: 62.95 kB / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.877e-05/0.006154, allocations: 19.7 kB / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.006169, allocations: 4 kB / 381.5 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.006189, allocations: 37.39 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.00619, allocations: 0 / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001614/0.006352, allocations: 81.78 kB / 381.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.00638, allocations: 55.41 kB / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.67e-05/0.006466, allocations: 181.9 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.006478, allocations: 29.7 kB / 381.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.088e-05/0.006549, allocations: 158.7 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.006565, allocations: 27.86 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.006598, allocations: 27.36 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.006714, allocations: 0.4884 MB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.872e-05/0.006743, allocations: 7.984 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.357e-05/0.006777, allocations: 39.3 kB / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.571e-05/0.006832, allocations: 39.38 kB / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.006835, allocations: 0 / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000107/0.006942, allocations: 77.58 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.006955, allocations: 8.031 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.006961, allocations: 3.938 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.006972, allocations: 0 / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.263e-05/0.007055, allocations: 19.98 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.00706, allocations: 0 / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.007084, allocations: 7.953 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.007091, allocations: 4 kB / 382.8 MB, free: 13.65 MB / 362.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 (9): * Single equations (assignments): 9 * 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.522e-05/0.007166, allocations: 160.5 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.007187, allocations: 19.92 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.007326, allocations: 82.05 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.007329, allocations: 0 / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.007333, allocations: 0 / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.007338, allocations: 8 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.007464, allocations: 136.6 kB / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.007466, allocations: 4 kB / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.007513, allocations: 19.94 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.007516, allocations: 0 / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.007523, allocations: 0 / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.007526, allocations: 7.875 kB / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.007528, allocations: 3.984 kB / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.007685, allocations: 215.9 kB / 383.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.007698, allocations: 11.89 kB / 383.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.007713, allocations: 0 / 383.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.712e-05/0.007751, allocations: 11.94 kB / 383.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.00781, allocations: 7.984 kB / 383.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.007814, allocations: 0 / 383.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.254e-05/0.007877, allocations: 139.2 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007877, allocations: 0 / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001475/0.008024, allocations: 15.95 kB / 383.6 MB, free: 12.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 8 * 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 9.489e-05/0.008119, allocations: 99.19 kB / 383.7 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.008243, allocations: 47.64 kB / 383.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.008245, allocations: 0 / 383.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.211e-05/0.008277, allocations: 27.62 kB / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.008454, allocations: 7.984 kB / 383.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.008796, allocations: 198.5 kB / 384 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.06e-05/0.008837, allocations: 64.05 kB / 384 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.38e-05/0.008871, allocations: 12.78 kB / 384 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.008903, allocations: 12.5 kB / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008904, allocations: 0 / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of Templates: time 0.003063/0.01197, allocations: 0.7217 MB / 384.8 MB, free: 11.52 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Exponentiation/Exponentiation.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.076515207067132]