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.001058/0.001058, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.0009644/0.0009644, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 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 0.988/0.988, allocations: 177 MB / 204.8 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2681/0.2681, allocations: 34.86 MB / 296.3 MB, free: 0.5508 MB / 266.7 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.673e-06/1.673e-06, allocations: 0 / 378.8 MB, free: 2.137 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.681e-05, allocations: 10.19 kB / 378.8 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.005435/0.005462, allocations: 1.696 MB / 380.5 MB, free: 424 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002242/0.005686, allocations: 71.75 kB / 380.5 MB, free: 352 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.691e-05/0.005753, allocations: 7.938 kB / 380.5 MB, free: 344 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.005787, allocations: 11.86 kB / 380.5 MB, free: 332 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.291e-05/0.00584, allocations: 11.81 kB / 380.6 MB, free: 320 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.006017, allocations: 27.95 kB / 380.6 MB, free: 292 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.006128, allocations: 83.77 kB / 380.7 MB, free: 208 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.006277, allocations: 29.56 kB / 380.7 MB, free: 176 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.006416, allocations: 51.89 kB / 380.7 MB, free: 124 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.127e-05/0.006467, allocations: 27.89 kB / 380.8 MB, free: 96 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.00649, allocations: 4 kB / 380.8 MB, free: 92 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.104e-05/0.006501, allocations: 8 kB / 380.8 MB, free: 84 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.006524, allocations: 19.92 kB / 380.8 MB, free: 64 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.741e-05/0.006551, allocations: 27.91 kB / 380.8 MB, free: 36 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.00667, allocations: 63.72 kB / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.006672, allocations: 0 / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006673, allocations: 0 / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.006677, allocations: 0 / 380.9 MB, free: 15.97 MB / 362.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.000382/0.007059, allocations: 416.4 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.007097, allocations: 16.03 kB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.007139, allocations: 20.84 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.007315, allocations: 148.3 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.007335, allocations: 8.562 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.007349, allocations: 8.375 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.007532, allocations: 122.8 kB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.00754, allocations: 0 / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.007552, allocations: 8 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.007562, allocations: 7.984 kB / 381.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.466e-05/0.007627, allocations: 35.91 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.008095, allocations: 474.5 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.008208, allocations: 55.08 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.931e-05/0.008237, allocations: 19.69 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.008255, allocations: 0 / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.008274, allocations: 37.33 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.008275, allocations: 4 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001679/0.008443, allocations: 89.67 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.00847, allocations: 51.41 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.008636, allocations: 185.2 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.008646, allocations: 25.7 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.339e-05/0.008709, allocations: 154.7 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.008726, allocations: 27.78 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.008757, allocations: 27.38 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.008869, allocations: 0.4884 MB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.28e-05/0.008892, allocations: 8 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.089e-05/0.008923, allocations: 43.3 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.183e-05/0.008975, allocations: 39.38 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.008977, allocations: 0 / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.81e-05/0.009065, allocations: 81.56 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.009076, allocations: 7.938 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.009082, allocations: 3.938 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.009092, allocations: 4 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.88e-05/0.009171, allocations: 12 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.009176, allocations: 0 / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.0092, allocations: 15.97 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.009206, allocations: 4 kB / 383.5 MB, free: 13.13 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 6.345e-05/0.00927, allocations: 160.5 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/0.009285, allocations: 11.95 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.009393, allocations: 78.03 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.009395, allocations: 4 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.009398, allocations: 0 / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.009401, allocations: 0 / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.00951, allocations: 140.6 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.00951, allocations: 0 / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.009548, allocations: 19.98 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.00955, allocations: 3.938 kB / 383.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.009558, allocations: 4 kB / 383.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.009561, allocations: 7.938 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.009562, allocations: 0 / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.009675, allocations: 220.3 kB / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.009684, allocations: 11.89 kB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.009695, allocations: 3.984 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.324e-05/0.009728, allocations: 11.94 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.009762, allocations: 3.984 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.009766, allocations: 8 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.115e-05/0.009807, allocations: 135.2 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009807, allocations: 0 / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001393/0.009946, allocations: 15.95 kB / 384.3 MB, free: 12.24 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 6.216e-05/0.01001, allocations: 95.19 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.01011, allocations: 39.67 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01011, allocations: 0 / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.94e-05/0.01014, allocations: 31.61 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.01031, allocations: 11.91 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/0.01061, allocations: 209.9 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.591e-05/0.01065, allocations: 63.28 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.993e-05/0.01068, allocations: 4.734 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.01071, allocations: 20.5 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01071, allocations: 0 / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of Templates: time 0.002264/0.01298, allocations: 0.7224 MB / 385.5 MB, free: 10.99 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8939954731613398]