Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001877/0.001877, allocations: 88.91 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001862/0.001862, allocations: 158 kB / 23.95 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 34.26 MB / 294.8 MB, free: 14.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.Exponentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 442.6 MB, free: 5.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.311e-05/3.463e-05, allocations: 12.61 kB / 442.7 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003223/0.003258, allocations: 1.651 MB / 444.3 MB, free: 3.625 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003809/0.003639, allocations: 83.62 kB / 444.4 MB, free: 3.543 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.003766, allocations: 7.938 kB / 444.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.165e-05/0.003818, allocations: 7.875 kB / 444.4 MB, free: 3.527 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.66e-05/0.003894, allocations: 11.88 kB / 444.4 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.004087, allocations: 27.95 kB / 444.4 MB, free: 3.488 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.004248, allocations: 87.75 kB / 444.5 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.00442, allocations: 21.58 kB / 444.6 MB, free: 3.379 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.004572, allocations: 55.81 kB / 444.6 MB, free: 3.324 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.493e-05/0.004647, allocations: 27.91 kB / 444.6 MB, free: 3.297 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.966e-05/0.004687, allocations: 8 kB / 444.6 MB, free: 3.289 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.912e-05/0.004706, allocations: 8 kB / 444.6 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.324e-05/0.004739, allocations: 15.92 kB / 444.7 MB, free: 3.266 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.004786, allocations: 23.92 kB / 444.7 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.004982, allocations: 83.64 kB / 444.8 MB, free: 3.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.004985, allocations: 0 / 444.8 MB, free: 3.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004985, allocations: 3.938 kB / 444.8 MB, free: 3.156 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.004998, allocations: 0 / 444.8 MB, free: 3.156 MB / 366.1 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.0006446/0.005643, allocations: 326.1 kB / 445.1 MB, free: 2.805 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.005686, allocations: 8.031 kB / 445.1 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.005736, allocations: 16.84 kB / 445.1 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.006059, allocations: 145.5 kB / 445.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.006089, allocations: 8.562 kB / 445.3 MB, free: 2.605 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.006112, allocations: 8.375 kB / 445.3 MB, free: 2.598 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.00642, allocations: 123.6 kB / 445.4 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.006431, allocations: 4 kB / 445.4 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.006444, allocations: 0 / 445.4 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.00645, allocations: 7.938 kB / 445.4 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002568/0.006707, allocations: 71.94 kB / 445.5 MB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006627/0.00737, allocations: 376.4 kB / 445.8 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.007596, allocations: 66.55 kB / 445.9 MB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.007714, allocations: 40.86 kB / 446 MB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.007742, allocations: 3.938 kB / 446 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.007776, allocations: 34.56 kB / 446 MB, free: 1.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.924e-06/0.007778, allocations: 0 / 446 MB, free: 1.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005019/0.00828, allocations: 133.7 kB / 446.1 MB, free: 1.684 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.008326, allocations: 51.41 kB / 446.2 MB, free: 1.621 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.008463, allocations: 117.8 kB / 446.3 MB, free: 1.496 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.008487, allocations: 29.7 kB / 446.3 MB, free: 1.461 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.693e-05/0.008583, allocations: 112 kB / 446.4 MB, free: 1.348 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.008615, allocations: 27.84 kB / 446.4 MB, free: 1.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.008672, allocations: 25.67 kB / 446.5 MB, free: 1.289 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.008826, allocations: 322.8 kB / 446.8 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.008948, allocations: 31.86 kB / 446.8 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.009069, allocations: 41.69 kB / 446.9 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.009294, allocations: 73.67 kB / 446.9 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.009296, allocations: 0 / 446.9 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002962/0.009592, allocations: 105.6 kB / 447 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.00961, allocations: 4 kB / 447 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.009619, allocations: 7.938 kB / 447 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.009637, allocations: 0 / 447 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.009772, allocations: 19.98 kB / 447.1 MB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/0.009791, allocations: 192 / 447.1 MB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.91e-05/0.00987, allocations: 27.91 kB / 447.1 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.009878, allocations: 3.938 kB / 447.1 MB, free: 0.6367 MB / 366.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 (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 0.0001055/0.009984, allocations: 117.8 kB / 447.2 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.01002, allocations: 7.953 kB / 447.2 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.01036, allocations: 114 kB / 447.3 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.01037, allocations: 0 / 447.3 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.01037, allocations: 0 / 447.3 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01038, allocations: 0 / 447.3 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.01057, allocations: 141.3 kB / 447.5 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01057, allocations: 0 / 447.5 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.966e-05/0.01067, allocations: 19.92 kB / 447.5 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.01067, allocations: 0 / 447.5 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.01068, allocations: 4 kB / 447.5 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.01069, allocations: 3.938 kB / 447.5 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01069, allocations: 0 / 447.5 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2043/0.215, allocations: 193.3 kB / 447.7 MB, free: 19.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.215, allocations: 10.31 kB / 447.7 MB, free: 19.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.215, allocations: 3.516 kB / 447.7 MB, free: 19.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.2151, allocations: 11.19 kB / 447.7 MB, free: 19.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.631e-05/0.2152, allocations: 6.641 kB / 447.7 MB, free: 19.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.2152, allocations: 1.188 kB / 447.7 MB, free: 19.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.663e-05/0.2153, allocations: 107.2 kB / 447.8 MB, free: 19.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2153, allocations: 0 / 447.8 MB, free: 19.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.2155, allocations: 14.55 kB / 447.8 MB, free: 19.05 MB / 366.1 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 0.0001139/0.2156, allocations: 96.03 kB / 447.9 MB, free: 18.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002977/0.2159, allocations: 65.78 kB / 448 MB, free: 18.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2159, allocations: 2.953 kB / 448 MB, free: 18.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.2161, allocations: 44.05 kB / 448 MB, free: 18.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.2163, allocations: 7.469 kB / 448 MB, free: 18.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.2168, allocations: 196.8 kB / 448.2 MB, free: 18.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.839e-05/0.2169, allocations: 83.12 kB / 448.3 MB, free: 18.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.145e-05/0.2169, allocations: 11.41 kB / 448.3 MB, free: 18.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.217, allocations: 12.12 kB / 448.3 MB, free: 18.74 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.217, allocations: 1.312 kB / 448.3 MB, free: 18.74 MB / 366.1 MB Notification: Performance of Templates: time 0.003824/0.2208, allocations: 0.6766 MB / 449 MB, free: 18.71 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.917824015021324]